Browse Source

add another check when deleting an image

photo-upload
Trent Larson 8 months ago
parent
commit
26582030df
  1. 3
      src/views/GiftedDetails.vue

3
src/views/GiftedDetails.vue

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

Loading…
Cancel
Save