Skip to content

Commit

Permalink
Merge pull request #55 from ScilifelabDataCentre/add-button-hot-fix
Browse files Browse the repository at this point in the history
Fix spelling, hide add button when a form is selected
  • Loading branch information
talavis authored Jan 25, 2023
2 parents 7f73e07 + 0c24fee commit ef3d7bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/pages/FormHandler.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
</transition>
</div>
<q-btn
v-if="selected.length === 0"
class="q-ma-md"
icon="add"
label="Add new form"
Expand All @@ -68,7 +69,7 @@
<q-card>
<q-card-section class="row items-center">
<q-avatar icon="warning" text-color="negative" />
<span class="q-ml-sm">Are you sure you want to abandon you changes to the form?</span>
<span class="q-ml-sm">Are you sure you want to abandon any changes to the form?</span>
</q-card-section>

<q-card-actions align="right">
Expand Down

0 comments on commit ef3d7bf

Please sign in to comment.