Some Changes
This commit is contained in:
@@ -115,6 +115,9 @@ const filteredRows = computed(() => {
|
||||
@click="router.push(`/mobile/standardEntity/${type}/create`)"
|
||||
/>
|
||||
<UDashboardNavbar :title="dataType.label" :badge="filteredRows.length">
|
||||
<template #toggle>
|
||||
<div v-if="platform === 'mobile'"></div>
|
||||
</template>
|
||||
<template #right>
|
||||
<UInput
|
||||
id="searchinput"
|
||||
|
||||
@@ -14,6 +14,10 @@ const props = defineProps({
|
||||
color: {
|
||||
type: String,
|
||||
default: 'primary'
|
||||
},
|
||||
pos: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
})
|
||||
|
||||
@@ -29,6 +33,8 @@ const emit = defineEmits(['click'])
|
||||
:variant="props.variant"
|
||||
:color="props.color"
|
||||
@click="emit('click')"
|
||||
:style="`bottom: ${10 + props.pos * 5}vh;`"
|
||||
class="bg-white dark:bg-gray-950"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -36,6 +42,6 @@ const emit = defineEmits(['click'])
|
||||
#fab {
|
||||
position: fixed;
|
||||
right: 15px;
|
||||
bottom: 10vh;
|
||||
z-index: 5;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user