1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

chore: upgrade to unplug-vue-router (#3041)

This commit is contained in:
Amir Raminfar
2024-06-17 12:07:24 -07:00
committed by GitHub
parent d344c5f20e
commit f24d4951ad
22 changed files with 199 additions and 571 deletions

View File

@@ -1,7 +1,7 @@
<template>
<nav class="fixed top-0 z-10 w-full border-b border-base-content/20 bg-base p-2" data-testid="navigation">
<div class="flex items-center">
<router-link :to="{ name: 'index' }">
<router-link :to="{ name: '/' }">
<svg class="h-14 w-28 fill-secondary">
<use href="#logo"></use>
</svg>
@@ -35,7 +35,7 @@
<li class="menu-title">{{ $t("label.containers") }}</li>
<li v-for="item in sortedContainers" :key="item.id" :class="item.state">
<router-link
:to="{ name: 'container-id', params: { id: item.id } }"
:to="{ name: '/container/[id]', params: { id: item.id } }"
active-class="active-primary"
class="truncate"
:title="item.name"