Fixed processing error with add API key

Also added padding below add button

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
pull/2558/head
Matthew Nickson 2 years ago
parent 669f8700b2
commit 97e276bdb5
No known key found for this signature in database
GPG Key ID: BF229DCFD4748E05

@ -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…
Cancel
Save