]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
fix(devtools): id and label (#742)
authorGuillaume Chau <guillaume.b.chau@gmail.com>
Sun, 31 Jan 2021 21:00:02 +0000 (22:00 +0100)
committerGitHub <noreply@github.com>
Sun, 31 Jan 2021 21:00:02 +0000 (22:00 +0100)
src/devtools.ts

index ecd5c9b376a32843a18fb391a0d8afb417a8dcb4..d184391afa31667f0a8786dd5c29ef1da968492b 100644 (file)
@@ -57,8 +57,8 @@ export function addDevtools(app: App, router: Router, matcher: RouterMatcher) {
   const id = routerId++
   setupDevtoolsPlugin(
     {
-      id: 'Router' + id ? ' ' + id : '',
-      label: 'Router devtools',
+      id: 'Router' + (id ? ' ' + id : ''),
+      label: 'Vue Router',
       app,
     },
     api => {