From 27350f27bab16149df194a5b0b499c22e6667659 Mon Sep 17 00:00:00 2001 From: Pietro Tamburini Date: Mon, 29 Apr 2024 16:01:01 +0200 Subject: [PATCH] feat: minor changes --- Makefile | 1 + frontend/src/api/files.ts | 4 +--- frontend/src/components/prompts/Share.vue | 11 +++++------ frontend/src/css/_buttons.css | 3 +-- frontend/src/css/_inputs.css | 2 +- frontend/src/css/dashboard.css | 2 +- frontend/src/css/listing.css | 2 +- frontend/src/views/files/FileListing.vue | 6 +++--- 8 files changed, 14 insertions(+), 17 deletions(-) diff --git a/Makefile b/Makefile index baecd0f3..158d0832 100644 --- a/Makefile +++ b/Makefile @@ -53,6 +53,7 @@ bump-version: $(standard-version) ## Bump app version $Q ./scripts/bump_version.sh ## Help: +.DEFAULT_GOAL := help help: ## Show this help @echo '' @echo 'Usage:' diff --git a/frontend/src/api/files.ts b/frontend/src/api/files.ts index a36de03f..c398f84f 100644 --- a/frontend/src/api/files.ts +++ b/frontend/src/api/files.ts @@ -40,9 +40,7 @@ async function resourceAction(url: string, method: ApiMethod, content?: any) { opts.body = content; } - const res = await fetchURL(`/api/resources${url}`, opts); - - return res; + return await fetchURL(`/api/resources${url}`, opts); } export async function remove(url: string) { diff --git a/frontend/src/components/prompts/Share.vue b/frontend/src/components/prompts/Share.vue index 6b15ffcd..43a46530 100644 --- a/frontend/src/components/prompts/Share.vue +++ b/frontend/src/components/prompts/Share.vue @@ -142,7 +142,7 @@