Vincent GUFFON před 4 roky
rodič
revize
7cdfb7df39
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  1. 1 3
      components/Layout/Breadcrumbs.vue

+ 1 - 3
components/Layout/Breadcrumbs.vue

@@ -31,9 +31,7 @@
 
       const crumbs = computed(()=>{
         const fullPath = route.value.path
-        const params = fullPath.startsWith('/')
-          ? fullPath.substring(1).split('/')
-          : fullPath.split('/')
+        const params = fullPath.startsWith('/') ? fullPath.substring(1).split('/') : fullPath.split('/')
         const crumbs:Array<AnyJson> = []
         let path = ''
         params.forEach((param, index) => {