mirror of
https://github.com/containous/traefik.git
synced 2025-10-26 07:33:18 +03:00
Adding an option to (de)activate Pilot integration into the Traefik dashboard
Co-authored-by: Jean-Baptiste Doumenjou <925513+jbdoumenjou@users.noreply.github.com>
This commit is contained in:
@@ -28,7 +28,8 @@
|
||||
</q-menu>
|
||||
</q-btn>
|
||||
</q-tabs>
|
||||
<platform-auth-state />
|
||||
<platform-auth-state
|
||||
v-if="pilotEnabled" />
|
||||
</div>
|
||||
</q-toolbar>
|
||||
</div>
|
||||
@@ -58,8 +59,11 @@ export default {
|
||||
? this.coreVersion.Version
|
||||
: this.coreVersion.Version.substring(0, 7)
|
||||
},
|
||||
pilotEnabled () {
|
||||
return this.coreVersion.pilotEnabled
|
||||
},
|
||||
parsedVersion () {
|
||||
if (this.version === undefined) {
|
||||
if (!this.version) {
|
||||
return 'master'
|
||||
}
|
||||
if (this.version === 'dev') {
|
||||
|
||||
Reference in New Issue
Block a user