7e01c6f769
* WIP error dialog * import error reporting * dialog content memoization * dialog work * more cleanup * apollo cache adjustments * add jobId to uploads table * fix showing old pending version state * feat(fe2): prevent user from leaving page if active uploads (#5017) * feat(fe2): prevent user leaving if active uploads * fixxes
30 lines
603 B
Vue
30 lines
603 B
Vue
<template>
|
|
<span
|
|
v-keyboard-clickable
|
|
:class="[
|
|
'text-foreground-2 hover:text-foreground inline-block cursor-pointer',
|
|
size
|
|
]"
|
|
>
|
|
<span>
|
|
{{ title + ' ' }}
|
|
</span>
|
|
<ClipboardIcon class="w-3 h-3 shrink-0 inline -mt-0.5" />
|
|
</span>
|
|
</template>
|
|
<script setup lang="ts">
|
|
import { ClipboardIcon } from '@heroicons/vue/24/outline'
|
|
|
|
withDefaults(
|
|
defineProps<{
|
|
title?: string
|
|
size?: string
|
|
}>(),
|
|
{
|
|
title:
|
|
'If you would like help from the server administrators, click to copy the error reference.',
|
|
size: 'text-body-3xs'
|
|
}
|
|
)
|
|
</script>
|