1
0

fix(project): don't allow archival or deletion of default projects in UI

This commit is contained in:
kolaente
2024-02-27 15:37:30 +01:00
parent 3d39fc3960
commit 8a82093233
3 changed files with 14 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<template>
<BaseButton class="dropdown-item">
<BaseButton class="dropdown-item" :class="{'is-disabled': disabled}">
<span
v-if="icon"
class="icon is-small"
@ -21,6 +21,7 @@ import type {IconProp} from '@fortawesome/fontawesome-svg-core'
export interface DropDownItemProps extends /* @vue-ignore */ BaseButtonProps {
icon?: IconProp,
iconClass?: object | string,
disabled?: boolean,
}
defineProps<DropDownItemProps>()