Browse Source

add another check when deleting an image

kb/add-usage-guide
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() {
if (!this.imageUrl) {
return;
}
try {
const identity = await libsUtil.getIdentity(this.activeDid);
const token = await accessToken(identity);

Loading…
Cancel
Save