|
|
@@ -265,7 +265,7 @@ export default { |
|
|
|
computed: { |
|
|
|
...mapState('system', ['configs', 'messages', 'locales', 'timezones']), |
|
|
|
...mapState('domains', ['domains']), |
|
|
|
...mapState('networks', ['nearestRegions']), |
|
|
|
...mapState('networks', ['nearestRegions', 'newNodeNotification']), |
|
|
|
...mapState('footprints', ['footprints']), |
|
|
|
...mapState('users', ['sshKeys']), |
|
|
|
...mapState('paymentMethods', ['accountPaymentMethods']), |
|
|
@@ -478,6 +478,12 @@ export default { |
|
|
|
this.defaults.locale = loc; |
|
|
|
} |
|
|
|
}, |
|
|
|
newNodeNotification(nn) { |
|
|
|
if (nn && nn.uuid) { |
|
|
|
this.$router.push({ path: '/bubble/' + nn.networkName }); |
|
|
|
this.submitted = false; |
|
|
|
} |
|
|
|
}, |
|
|
|
nearestRegions(regions) { |
|
|
|
if (regions) { |
|
|
|
this.regions = regions; |
|
|
|