refactor: post-form-attaches to composition api #60

Merged
Johann150 merged 5 commits from :refactor/post-form-attaches.vue into main 2022-08-11 09:17:17 +00:00
Showing only changes of commit 091bf0f77b - Show all commits

View file

@ -56,7 +56,7 @@ function detachMedia(id: string): void {
function toggleSensitive(file: DriveFile): void {
os.api('drive/files/update', {
fileId: file.id,
isSensitive: !file.isSensitive,,
isSensitive: !file.isSensitive,
}).then(() => {
emit('changeSensitive', file, !file.isSensitive);
});