Fix Vue defineEmits so Coolify production build can succeed.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -75,7 +75,7 @@ const emit = defineEmits<{
|
|||||||
addRef: []
|
addRef: []
|
||||||
remove: [index: number]
|
remove: [index: number]
|
||||||
updateLabel: [index: number, label: string]
|
updateLabel: [index: number, label: string]
|
||||||
}>(['addRef', 'remove', 'updateLabel'])
|
}>()
|
||||||
|
|
||||||
function labelOptions(current: string) {
|
function labelOptions(current: string) {
|
||||||
if (PERMANENCE_REF_LABELS.includes(current as typeof PERMANENCE_REF_LABELS[number])) return [...PERMANENCE_REF_LABELS]
|
if (PERMANENCE_REF_LABELS.includes(current as typeof PERMANENCE_REF_LABELS[number])) return [...PERMANENCE_REF_LABELS]
|
||||||
|
|||||||
Reference in New Issue
Block a user