chore: fixed linters
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div class="grid grid-cols-3 justify-between bg-surface-white">
|
||||||
class="grid grid-cols-3 justify-between bg-surface-white"
|
|
||||||
>
|
|
||||||
<div key="name" class="py-1 px-2 hover:bg-surface-gray-2 rounded">
|
<div key="name" class="py-1 px-2 hover:bg-surface-gray-2 rounded">
|
||||||
<router-link
|
<router-link
|
||||||
:to="{
|
:to="{
|
||||||
@@ -12,7 +10,9 @@
|
|||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div class="flex flex-col items-center space-y-1">
|
<div class="flex flex-col items-center space-y-1">
|
||||||
<ArrowDownToLine class="size-9 text-ink-gray-7 p-2 bg-surface-gray-2 rounded-md" />
|
<ArrowDownToLine
|
||||||
|
class="size-9 text-ink-gray-7 p-2 bg-surface-gray-2 rounded-md"
|
||||||
|
/>
|
||||||
<div class="text-sm text-ink-gray-7">
|
<div class="text-sm text-ink-gray-7">
|
||||||
{{ __('Import') }}
|
{{ __('Import') }}
|
||||||
</div>
|
</div>
|
||||||
@@ -23,4 +23,4 @@
|
|||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ArrowDownToLine } from 'lucide-vue-next'
|
import { ArrowDownToLine } from 'lucide-vue-next'
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -171,12 +171,12 @@ const userDropdownOptions = computed(() => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Configuration",
|
label: 'Configuration',
|
||||||
icon: Wrench,
|
icon: Wrench,
|
||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
component: markRaw(Configuration),
|
component: markRaw(Configuration),
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
condition: () => {
|
condition: () => {
|
||||||
return userResource.data?.is_moderator
|
return userResource.data?.is_moderator
|
||||||
|
|||||||
Reference in New Issue
Block a user