mirror of https://github.com/rancher/dashboard.git
Remove unused variable
This commit is contained in:
parent
aa3a936271
commit
ab662fffaa
|
|
@ -86,7 +86,6 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
async addSubscription(done) {
|
async addSubscription(done) {
|
||||||
try {
|
try {
|
||||||
this.hasSupportOnDialog = this.hasSupport;
|
|
||||||
this.supportSetting.value = 'true';
|
this.supportSetting.value = 'true';
|
||||||
this.brandSetting.value = 'suse';
|
this.brandSetting.value = 'suse';
|
||||||
await Promise.all([this.supportSetting.save(), this.brandSetting.save()]);
|
await Promise.all([this.supportSetting.save(), this.brandSetting.save()]);
|
||||||
|
|
@ -100,7 +99,6 @@ export default {
|
||||||
|
|
||||||
async removeSubscription(done) {
|
async removeSubscription(done) {
|
||||||
try {
|
try {
|
||||||
this.hasSupportOnDialog = this.hasSupport;
|
|
||||||
this.supportSetting.value = 'false';
|
this.supportSetting.value = 'false';
|
||||||
this.brandSetting.value = '';
|
this.brandSetting.value = '';
|
||||||
await Promise.all([this.supportSetting.save(), this.brandSetting.save()]);
|
await Promise.all([this.supportSetting.save(), this.brandSetting.save()]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue