add another check when deleting an image

This commit is contained in:
2024-03-10 17:36:49 -06:00
parent ae857f4c8f
commit 26582030df

View File

@@ -202,6 +202,9 @@ export default class GiftedDetails extends Vue {
}
async deleteImage() {
if (!this.imageUrl) {
return;
}
try {
const identity = await libsUtil.getIdentity(this.activeDid);
const token = await accessToken(identity);