This commit is contained in:
Jose Olarte III
2025-07-28 16:08:20 +08:00
parent c3bd22fb83
commit 48856d4fce
5 changed files with 85 additions and 48 deletions

View File

@@ -1423,7 +1423,8 @@ export default class AccountViewView extends Vue {
return;
}
} catch (error) {
this.limitsMessage = ACCOUNT_VIEW_CONSTANTS.LIMITS.ERROR_RETRIEVING_LIMITS;
this.limitsMessage =
ACCOUNT_VIEW_CONSTANTS.LIMITS.ERROR_RETRIEVING_LIMITS;
console.log("error: ", error);
// this.notify.error(this.limitsMessage, TIMEOUTS.STANDARD);
} finally {
@@ -1483,7 +1484,7 @@ export default class AccountViewView extends Vue {
async deleteImage(): Promise<void> {
try {
// Extract the image ID from the full URL
const imageId = this.profileImageUrl?.split('/').pop();
const imageId = this.profileImageUrl?.split("/").pop();
if (!imageId) {
this.notify.error("Invalid image URL");
return;