Fixed processing error with add API key
Also added padding below add button Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
parent
669f8700b2
commit
97e276bdb5
|
@ -144,6 +144,7 @@ export default {
|
||||||
|
|
||||||
this.$root.addAPIKey(this.key, async (res) => {
|
this.$root.addAPIKey(this.key, async (res) => {
|
||||||
this.keyaddmodal.hide();
|
this.keyaddmodal.hide();
|
||||||
|
this.processing = false;
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.clearKey = res.key;
|
this.clearKey = res.key;
|
||||||
this.keymodal.show();
|
this.keymodal.show();
|
||||||
|
@ -151,7 +152,6 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
toast.error(res.msg);
|
toast.error(res.msg);
|
||||||
}
|
}
|
||||||
this.processing = false;
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,6 +157,7 @@ export default {
|
||||||
|
|
||||||
.add-btn {
|
.add-btn {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
padding-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
|
|
Loading…
Reference in New Issue