mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
perf: profile page go to some page error
This commit is contained in:
@@ -183,7 +183,7 @@ export default {
|
||||
},
|
||||
callbacks: {
|
||||
click: function() {
|
||||
this.$router.push({ name: 'PasswordAndSSHKey', query: { tab: 'Password' }})
|
||||
this.$router.push({ name: 'SSHKeyList', query: { tab: 'Password' }})
|
||||
}.bind(this)
|
||||
}
|
||||
},
|
||||
@@ -196,22 +196,9 @@ export default {
|
||||
},
|
||||
callbacks: {
|
||||
click: function() {
|
||||
this.$router.push({ name: 'PasswordAndSSHKey', query: { tab: 'SSHKey' }})
|
||||
this.$router.push({ name: 'SSHKeyList', query: { tab: 'SSHKey' }})
|
||||
}.bind(this)
|
||||
}
|
||||
},
|
||||
{
|
||||
title: this.$t('ResetPublicKeyAndDownload'),
|
||||
attrs: {
|
||||
type: 'primary',
|
||||
label: this.$t('Reset'),
|
||||
disabled: !this.$store.state.users.profile.can_public_key_auth
|
||||
},
|
||||
callbacks: {
|
||||
click: function() {
|
||||
window.open(`/core/auth/profile/pubkey/generate/`, '_blank')
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
messageSubscriptionQuickActions: [
|
||||
|
||||
Reference in New Issue
Block a user