Fix build errors
This commit is contained in:
parent
31f69bac10
commit
054a294ec0
@ -1,9 +1,9 @@
|
|||||||
<script setup async lang="ts">
|
<script setup async lang="ts">
|
||||||
import type { TokenInjectType } from '@/api';
|
import type { TokenInjectType, Responses } from '@/api';
|
||||||
import { inject, ref } from 'vue';
|
import { inject, ref } from 'vue';
|
||||||
import { NImage, NIcon } from 'naive-ui';
|
import { NImage, NIcon } from 'naive-ui';
|
||||||
import { Image, Music, Video, Document } from '@vicons/carbon';
|
import { Image, Music, Video, Document } from '@vicons/carbon';
|
||||||
import { check_token, FS, isErrorResponse, Responses } from '@/api';
|
import { check_token, FS, isErrorResponse } from '@/api';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
node: Responses.GetNodeEntry;
|
node: Responses.GetNodeEntry;
|
||||||
@ -75,7 +75,7 @@ if (token) {
|
|||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
>
|
>
|
||||||
<tspan x="0.4" y="7.5">
|
<tspan x="0.4" y="7.5">
|
||||||
{{ node.name.split('.').pop().toUpperCase() }}
|
{{ (node.name.split('.').pop() ?? '').toUpperCase() }}
|
||||||
</tspan>
|
</tspan>
|
||||||
</text>
|
</text>
|
||||||
</svg>
|
</svg>
|
||||||
|
Loading…
Reference in New Issue
Block a user