Skip to content

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Oct 23, 2024
1 parent 641bac8 commit 12e7068
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions resources/js/components/forms/album/AlbumVisibility.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,4 @@ function save() {
console.error(error);
});
}
watch(
() => props.album,
(newAlbum) => {
is_public.value = newAlbum.policy.is_public;
is_link_required.value = newAlbum.policy.is_link_required;
is_nsfw.value = newAlbum.policy.is_nsfw;
grants_full_photo_access.value = newAlbum.policy.grants_full_photo_access;
grants_download.value = newAlbum.policy.grants_download;
is_password_required.value = newAlbum.policy.is_password_required;
password.value = "";
},
);
</script>

0 comments on commit 12e7068

Please sign in to comment.