|
9 | 9 | :active="isActive" |
10 | 10 | :actions-aria-label="t('forms', 'Form actions')" |
11 | 11 | :counter-number="form.submissionCount" |
12 | | - :compact="true" |
| 12 | + compact |
13 | 13 | :force-display-actions="forceDisplayActions" |
14 | 14 | :name="formTitle" |
15 | 15 | :to="{ |
|
28 | 28 | <template v-if="!loading && !readOnly" #actions> |
29 | 29 | <NcActionRouter |
30 | 30 | v-if="!isArchived" |
31 | | - :close-after-click="true" |
32 | | - :exact="true" |
| 31 | + close-after-click |
| 32 | + exact |
33 | 33 | :to="{ name: 'edit', params: { hash: form.hash } }" |
34 | 34 | @click="mobileCloseNavigation"> |
35 | 35 | <template #icon> |
|
39 | 39 | </NcActionRouter> |
40 | 40 | <NcActionButton |
41 | 41 | v-if="!isArchived" |
42 | | - :close-after-click="true" |
| 42 | + close-after-click |
43 | 43 | @click="onShareForm"> |
44 | 44 | <template #icon> |
45 | 45 | <IconShareVariant :size="20" /> |
46 | 46 | </template> |
47 | 47 | {{ t('forms', 'Share form') }} |
48 | 48 | </NcActionButton> |
49 | 49 | <NcActionRouter |
50 | | - :close-after-click="true" |
51 | | - :exact="true" |
| 50 | + close-after-click |
| 51 | + exact |
52 | 52 | :to="{ name: 'results', params: { hash: form.hash } }" |
53 | 53 | @click="mobileCloseNavigation"> |
54 | 54 | <template #icon> |
55 | 55 | <IconPoll :size="20" /> |
56 | 56 | </template> |
57 | 57 | {{ t('forms', 'Results') }} |
58 | 58 | </NcActionRouter> |
59 | | - <NcActionButton |
60 | | - v-if="canEdit" |
61 | | - :close-after-click="true" |
62 | | - @click="onCloneForm"> |
| 59 | + <NcActionButton v-if="canEdit" close-after-click @click="onCloneForm"> |
63 | 60 | <template #icon> |
64 | 61 | <IconContentCopy :size="20" /> |
65 | 62 | </template> |
|
68 | 65 | <NcActionSeparator v-if="canEdit" /> |
69 | 66 | <NcActionButton |
70 | 67 | v-if="canEdit" |
71 | | - :close-after-click="true" |
| 68 | + close-after-click |
72 | 69 | @click="onToggleArchive"> |
73 | 70 | <template #icon> |
74 | 71 | <IconArchiveOff v-if="isArchived" :size="20" /> |
|
82 | 79 | </NcActionButton> |
83 | 80 | <NcActionButton |
84 | 81 | v-if="canEdit" |
85 | | - :close-after-click="true" |
| 82 | + close-after-click |
86 | 83 | @click="showDeleteDialog = true"> |
87 | 84 | <template #icon> |
88 | 85 | <IconDelete :size="20" /> |
|
0 commit comments