feat: show search icon in header instead of input

+ fix: persistent updating text on update playlist modal
+ move router routes to a separate file
    + lazy import route components
+ remove loading: lazy from songcard
+ remove unused imports on navigation component
This commit is contained in:
geoffrey45
2022-09-18 10:07:58 +03:00
parent 5af3d9cfc3
commit 194a615b2d
14 changed files with 221 additions and 183 deletions
+5 -3
View File
@@ -1,5 +1,5 @@
<template>
<router-link :to="{ name: 'FolderView', params: { path: folder.path } }">
<router-link :to="{ name: Routes.folder, params: { path: folder.path } }">
<div class="f-item">
<div class="icon">
<FolderSvg v-if="!folder.is_sym" />
@@ -16,8 +16,10 @@
<script setup lang="ts">
import { Folder } from "@/interfaces";
import FolderSvg from "../../assets/icons/folder.svg";
import SymLinkSvg from "../../assets/icons/symlink.svg";
import { Routes } from "@/composables/enums";
import FolderSvg from "@/assets/icons/folder.svg";
import SymLinkSvg from "@/assets/icons/symlink.svg";
defineProps<{
folder: Folder;