refactor: refs #8945 add handlePhotoUpdated method to reload image after update
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Jose Antonio Tubau 2025-05-07 17:09:12 +02:00
parent a2e8f332df
commit 500f38cc21
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,10 @@ const showEditPhotoForm = ref(false);
const toggleEditPictureForm = () => {
showEditPhotoForm.value = !showEditPhotoForm.value;
};
const handlePhotoUpdated = (evt = false) => {
image.value.reload(evt);
};
</script>
<template>
<CardDescriptor