feat: add dont_switch_primary
This commit is contained in:
@ -8,6 +8,7 @@ const category = getCurrentInstance()?.parent?.parent?.parent?.parent; // yes in
|
||||
const props = defineProps({
|
||||
title: String,
|
||||
tooltip: String,
|
||||
dangerousTooltip: String,
|
||||
});
|
||||
|
||||
const searched = computed(() => {
|
||||
@ -32,6 +33,11 @@ const searched = computed(() => {
|
||||
class="pi pi-question-circle ml-2"
|
||||
v-tooltip="tooltip"
|
||||
></span>
|
||||
<span
|
||||
v-if="dangerousTooltip"
|
||||
class="pi pi-exclamation-circle ml-2 text-red-500"
|
||||
v-tooltip="dangerousTooltip"
|
||||
></span>
|
||||
</div>
|
||||
|
||||
<slot />
|
||||
|
Reference in New Issue
Block a user