File tree Expand file tree Collapse file tree 5 files changed +15
-9
lines changed Expand file tree Collapse file tree 5 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import routeLinks from "@/router/routeLinks";
5
5
6
6
<template >
7
7
<RouterLink :to =" routeLinks.audit.root" >
8
- <i class =" fa fa-envelope icon-white" title =" Audit " ></i >
9
- <span class =" navbar-label" >Audit </span >
8
+ <i class =" fa fa-envelope icon-white" title =" All Messages " ></i >
9
+ <span class =" navbar-label" >All Messages </span >
10
10
</RouterLink >
11
11
</template >
12
12
Original file line number Diff line number Diff line change
1
+ <script setup lang="ts"></script >
2
+
3
+ <template >
4
+ <div >Hello</div >
5
+ </template >
Original file line number Diff line number Diff line change @@ -56,7 +56,12 @@ const config: RouteItem[] = [
56
56
{
57
57
path : routeLinks . audit . root ,
58
58
component : AuditView ,
59
- title : "Messages" ,
59
+ title : "All Messages" ,
60
+ } ,
61
+ {
62
+ path : routeLinks . audit . message . template ,
63
+ title : "Message" ,
64
+ component : ( ) => import ( "@/components/audit/MessageView.vue" ) ,
60
65
} ,
61
66
{
62
67
path : routeLinks . failedMessage . root ,
Original file line number Diff line number Diff line change @@ -13,13 +13,9 @@ const heartbeatLinks = (root: string) => {
13
13
} ;
14
14
15
15
const auditLinks = ( root : string ) => {
16
- // function createLink(template: string) {
17
- // return { link: `${root}/${template}`, template: template };
18
- // }
19
-
20
16
return {
21
17
root,
22
- message : { link : ( id : string ) => `${ root } /message/${ id } ` , template : " message/:id" } ,
18
+ message : { link : ( id : string ) => `${ root } /message/${ id } ` , template : ` ${ root } / message/:id` } ,
23
19
} ;
24
20
} ;
25
21
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import AuditList from "@/components/audit/AuditList.vue";
10
10
<div class =" container" >
11
11
<div class =" row" >
12
12
<div class =" col-12" >
13
- <h1 >Audit Messages</h1 >
13
+ <h1 >All Messages</h1 >
14
14
</div >
15
15
</div >
16
16
<div class =" row" >
You can’t perform that action at this time.
0 commit comments