removed unplugin. Working on better performance in dev mode...
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
function flattenObject(input: Object) {
|
||||
if (input === null) return input
|
||||
|
||||
return Object.values(input).map((value) => Object.entries(value)).flat().reduce((acc: Array<Object>, [key, value]) => {
|
||||
return Object.values(input).map((value: any) => Object.entries(value)).flat().reduce((acc: Array<Object>, [key, value]) => {
|
||||
acc.push({[key]: value});
|
||||
return acc;
|
||||
}, []);
|
||||
|
||||
@@ -10,12 +10,13 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { Link, usePage } from '@inertiajs/vue3'
|
||||
import { h, ref } from 'vue';
|
||||
import type { Ref, Component } from 'vue'
|
||||
import type { MenuOption } from 'naive-ui'
|
||||
import type { User } from '../types/User'
|
||||
import { NIcon } from 'naive-ui'
|
||||
|
||||
import { Link, usePage } from '@inertiajs/vue3'
|
||||
import { h, ref } from 'vue';
|
||||
import { NIcon, NMenu } from 'naive-ui'
|
||||
import {
|
||||
GroupsFilled as Users,
|
||||
EventNoteFilled as Events,
|
||||
|
||||
Reference in New Issue
Block a user