From: Guillaume Chau Date: Sun, 31 Jan 2021 21:00:02 +0000 (+0100) Subject: fix(devtools): id and label (#742) X-Git-Tag: v4.0.4~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d034307444860fb834b0f5b5a1ddd0cce9d6d842;p=thirdparty%2Fvuejs%2Frouter.git fix(devtools): id and label (#742) --- diff --git a/src/devtools.ts b/src/devtools.ts index ecd5c9b3..d184391a 100644 --- a/src/devtools.ts +++ b/src/devtools.ts @@ -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 => {