mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-04-23 11:27:52 +00:00
Merge pull request #132 from PhillipLangMartinez/bugfix/fix-name-exist-error-gif-collection
change res validation
This commit is contained in:
commit
61b5e1105d
@ -417,7 +417,7 @@ setOpenGifModal: { attribute: false }
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (doesNameExist.length !== 0) {
|
if (doesNameExist.title) {
|
||||||
parentEpml.request('showSnackBar', get('gifs.gchange24'));
|
parentEpml.request('showSnackBar', get('gifs.gchange24'));
|
||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
this.setGifsLoading(false);
|
this.setGifsLoading(false);
|
||||||
@ -499,7 +499,7 @@ setOpenGifModal: { attribute: false }
|
|||||||
url: `/arbitrary/metadata/GIF_REPOSITORY/${userName}/${this.newCollectionName}&apiKey=${this.getApiKey()}`,
|
url: `/arbitrary/metadata/GIF_REPOSITORY/${userName}/${this.newCollectionName}&apiKey=${this.getApiKey()}`,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
if (myCollection.length > 0) {
|
if (myCollection.title) {
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
res();
|
res();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user