@@ -303,6 +311,19 @@ export default {
});
},
methods: {
+ async linkOptionsChanged(link) {
+ try {
+ const response = await this.axios.post(`${this.$config.baseURL}/album/link/edit`,
+ {
+ identifier: link.identifier,
+ enableDownload: link.enableDownload,
+ enabled: link.enabled
+ });
+ this.$toast.open(response.data.message);
+ } catch (error) {
+ this.$onPromiseError(error);
+ }
+ },
async createLink(album) {
album.isCreatingLink = true;
try {
--
cgit v1.2.3