add assignment v2 UI
This commit is contained in:
@@ -54,6 +54,11 @@ const filteredAttrs = computed(() => {
|
||||
standardAttrs[key] = value;
|
||||
});
|
||||
|
||||
// Default to type="button" to prevent accidental form submissions
|
||||
if (!standardAttrs.type) {
|
||||
standardAttrs.type = 'button';
|
||||
}
|
||||
|
||||
return standardAttrs;
|
||||
});
|
||||
|
||||
|
||||
@@ -91,6 +91,7 @@ const toggleOption = option => {
|
||||
<template #trigger="{ toggle }">
|
||||
<button
|
||||
v-if="hasItems"
|
||||
type="button"
|
||||
class="bg-n-alpha-2 py-2 rounded-lg h-8 flex items-center px-0"
|
||||
@click="toggle"
|
||||
>
|
||||
|
||||
@@ -450,6 +450,12 @@ const menuItems = computed(() => {
|
||||
icon: 'i-lucide-message-square-quote',
|
||||
to: accountScopedRoute('canned_list'),
|
||||
},
|
||||
{
|
||||
name: 'Settings Assignment',
|
||||
label: t('SIDEBAR.ASSIGNMENT'),
|
||||
icon: 'i-lucide-users-round',
|
||||
to: accountScopedRoute('assignment_settings'),
|
||||
},
|
||||
{
|
||||
name: 'Settings Integrations',
|
||||
label: t('SIDEBAR.INTEGRATIONS'),
|
||||
|
||||
Reference in New Issue
Block a user