Skip to content

Commit

Permalink
fix: update url
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas H. Kelch committed Dec 20, 2023
1 parent 9a87979 commit 6d63fae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/admin/customizing/tab.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ adminInfo = {
"access" : ["root"],
"icon" : "default___download", # icon
"action" : "route", # type
"url" : "/dt/myview", # our route
"url" : "/app/myview", # our route
"enabled": "True" # "1" if a selection is required for activation
}
},
Expand All @@ -93,7 +93,7 @@ The following call can therefore be used to create an independent tab:
import { useRouter } from "vue-router"
...
const router = useRouter()
let route = router.resolve("/dt/myview")
let route = router.resolve("/app/myview")

dbStore.addOpened(route, null, null, 'My View', 'user')

Expand Down

0 comments on commit 6d63fae

Please sign in to comment.