mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-10 17:23:05 +01:00
feat: demo flags (#1084)
This commit is contained in:
@@ -24,9 +24,9 @@ onMounted(() => {
|
||||
})
|
||||
|
||||
watch(
|
||||
formdata,
|
||||
(newVal) => {
|
||||
model.value = { ...newVal }
|
||||
() => formdata.value,
|
||||
() => {
|
||||
model.value = { ...formdata.value }
|
||||
},
|
||||
{ deep: true }
|
||||
)
|
||||
|
||||
@@ -30,7 +30,10 @@ const open = ref(false)
|
||||
const searchTerm = ref('')
|
||||
const selectedItems = ref<string[]>(props.modelValue)
|
||||
|
||||
watch(selectedItems.value, (value) => emit('update:modelValue', value))
|
||||
watch(
|
||||
() => selectedItems.value,
|
||||
(value) => emit('update:modelValue', value)
|
||||
)
|
||||
|
||||
const filteredItems = computed(() => {
|
||||
if (!selectedItems.value) return props.items
|
||||
|
||||
Reference in New Issue
Block a user