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:
Matthew Nickson 2023-02-27 18:19:56 +00:00
parent 669f8700b2
commit 97e276bdb5
No known key found for this signature in database
GPG Key ID: BF229DCFD4748E05
2 changed files with 2 additions and 1 deletions

View File

@ -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;
}); });
}, },
} }

View File

@ -157,6 +157,7 @@ export default {
.add-btn { .add-btn {
padding-top: 20px; padding-top: 20px;
padding-bottom: 20px;
} }
.item { .item {