From 00bb4f4abea2ae8811b50a1ea12242362b030f0f Mon Sep 17 00:00:00 2001 From: Konstantin Myakshin Date: Thu, 28 Dec 2023 12:50:23 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Chartman123 Signed-off-by: Konstantin Myakshin --- docs/API.md | 4 ++-- src/views/Results.vue | 33 +++++++++++++++------------------ 2 files changed, 17 insertions(+), 20 deletions(-) diff --git a/docs/API.md b/docs/API.md index d2f4e1c79..2372d2456 100644 --- a/docs/API.md +++ b/docs/API.md @@ -28,11 +28,11 @@ This file contains the API-Documentation. For more information on the returned D - Completely new way of handling access & shares. ### Other API changes -- In API version 2.2 next endpoints were introduced: +- In API version 2.2 the following endpoints were introduced: - `POST /api/2.2/submissions/link/{fileFormat}` to link form to a file - `GET /api/2.2/submissions/linkedFile/{hash}` to retrieve linked file - `POST /api/2.2/submissions/unlink` to unlink form from a file -- In API version 2.2 next endpoints were changed: +- In API version 2.2 the following endpoints were changed: - `GET /api/v2.1/submissions/export/{hash}` was extended with optional parameter `fileFormat` to export submissions in different formats - `GET /api/v2.1/submissions/export` was extended with optional parameter `fileFormat` to export submissions to cloud in different formats - In API version 2.1 the endpoint `/api/v2.1/share/update` was added to update a Share diff --git a/src/views/Results.vue b/src/views/Results.vue index 71299bfab..1c1725c7a 100644 --- a/src/views/Results.vue +++ b/src/views/Results.vue @@ -56,11 +56,10 @@ + type="tertiary-no-background" + :menu-name="t('forms', 'Create spreadsheet')" + :aria-label="t('forms', 'Create spreadsheet')" + @click="onLinkFile"> @@ -120,9 +119,9 @@ + :aria-label="t('forms', 'Options')" + :force-menu="true" + @close="hideSubActions">