Item types #319

Merged
jsegarra merged 28 commits from :feature/ItemFamily into dev 2024-05-02 07:39:59 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 19fcacebc9 - Show all commits

View File

@ -108,6 +108,7 @@ async function search() {
let targetUrl; let targetUrl;
if (path.endsWith('/list')) targetUrl = path.replace('/list', `/${targetId}/summary`); if (path.endsWith('/list')) targetUrl = path.replace('/list', `/${targetId}/summary`);
if (path.endsWith('-list')) targetUrl = path.replace('-list', `/${targetId}/summary`);
else if (path.includes(':id')) targetUrl = path.replace(':id', targetId); else if (path.includes(':id')) targetUrl = path.replace(':id', targetId);
await router.push({ path: targetUrl }); await router.push({ path: targetUrl });

View File

@ -1,7 +1,7 @@
import { RouterView } from 'vue-router'; import { RouterView } from 'vue-router';
export default { export default {
path: '/item-type', path: '/item/item-type',
name: 'ItemType', name: 'ItemType',
meta: { meta: {
title: 'itemType', title: 'itemType',