File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 label="title" />
2323 </div >
2424 <template #actions >
25- <NcButton :disabled =" ! isBoardAndStackChoosen " type ="secondary" @click =" moveCard " >
25+ <NcButton :disabled =" ! isBoardAndStackChoosen " variant ="secondary" @click =" moveCard " >
2626 {{ t('deck', 'Move card') }}
2727 </NcButton >
28- <NcButton :disabled =" ! isBoardAndStackChoosen " type ="primary" @click =" cloneCard " >
28+ <NcButton :disabled =" ! isBoardAndStackChoosen " variant ="primary" @click =" cloneCard " >
2929 {{ t('deck', 'Copy card') }}
3030 </NcButton >
3131 </template >
Original file line number Diff line number Diff line change 8484 :title =" t (' deck' , ' Apply filter' )"
8585 :aria-label =" t (' deck' , ' Apply filter' )"
8686 class="filter-button"
87- :type =" isFilterActive ? ' primary' : ' tertiary' " >
87+ :variant =" isFilterActive ? ' primary' : ' tertiary' " >
8888 <template #icon >
8989 <FilterIcon v-if =" isFilterActive " :size =" 20 " decorative />
9090 <FilterOffIcon v-else :size =" 20 " decorative />
Original file line number Diff line number Diff line change 3333 :disable =" loading "
3434 :placeholder =" t (' deck' , ' List name' )"
3535 type="text" />
36- <NcButton type ="secondary"
37- native- type="submit"
36+ <NcButton variant ="secondary"
37+ type="submit"
3838 :disabled =" loading "
3939 :title =" t (' deck' , ' Add list' )" >
4040 <template #icon >
Original file line number Diff line number Diff line change 1919 type="datetime-local" />
2020 <NcActions v-if =" canEdit "
2121 :menu-title =" ! duedate ? t (' deck' , ' Add due date' ) : null "
22- type ="tertiary"
22+ variant ="tertiary"
2323 data-cy-due-date-actions>
2424 <template v-if =" ! duedate " #icon >
2525 <Plus :size =" 20 " />
5252 </NcActions >
5353
5454 <NcButton v-if =" ! card .done "
55- type ="secondary"
55+ variant ="secondary"
5656 class="completed-button"
5757 @click =" changeCardDoneStatus ()" >
5858 <template #icon >
7373 </div >
7474 <div class =" due-actions" >
7575 <NcButton v-if =" ! card .archived "
76- type ="tertiary"
76+ variant ="tertiary"
7777 :name =" t (' deck' , ' Not done' )"
7878 @click =" changeCardDoneStatus ()" >
7979 <template #icon >
8080 <ClearIcon :size =" 20 " />
8181 </template >
8282 </NcButton >
83- <NcButton type ="secondary" @click =" archiveUnarchiveCard ()" >
83+ <NcButton variant ="secondary" @click =" archiveUnarchiveCard ()" >
8484 <template #icon >
8585 <ArchiveIcon :size =" 20 " />
8686 </template >
Original file line number Diff line number Diff line change 66<template >
77 <div v-if =" card" class =" card-menu" @click.stop.prevent >
88 <NcButton v-if =" card .referenceData "
9- type ="tertiary"
9+ variant ="tertiary"
1010 :title =" t (' deck' , ' Open link' )"
1111 @click =" openLink " >
1212 <template #icon >
Original file line number Diff line number Diff line change 1818 :placeholder =" t (' deck' , ' Board name' )"
1919 type="text"
2020 required />
21- <NcButton type ="tertiary"
21+ <NcButton variant ="tertiary"
2222 :disabled =" loading "
2323 :title =" t (' deck' , ' Cancel edit' )"
2424 @click .stop .prevent =" cancelEdit " >
2525 <template #icon >
2626 <CloseIcon :size =" 20 " />
2727 </template >
2828 </NcButton >
29- <NcButton type ="tertiary"
30- native- type="submit"
29+ <NcButton variant ="tertiary"
30+ type="submit"
3131 :disabled =" loading "
3232 :title =" t (' deck' , ' Save board' )" >
3333 <template #icon >
@@ -77,6 +77,7 @@ export default {
7777 })
7878 },
7979 async createBoard (e ) {
80+ alert (' createBoard called' )
8081 this .loading = true
8182 const title = this .value .trim ()
8283 await this .$store .dispatch (' createBoard' , {
@@ -88,6 +89,7 @@ export default {
8889 this .color = randomColor ()
8990 },
9091 cancelEdit (e ) {
92+ alert (' cancelEdit called' )
9193 this .editing = false
9294 this .color = randomColor ()
9395 },
Original file line number Diff line number Diff line change 129129 :placeholder =" t (' deck' , ' Board name' )"
130130 type="text"
131131 required />
132- <NcButton type ="tertiary"
132+ <NcButton variant ="tertiary"
133133 :disabled =" loading "
134- native- type="submit"
134+ type="submit"
135135 :title =" t (' deck' , ' Cancel edit' )"
136136 @click .stop .prevent =" cancelEdit " >
137137 <template #icon >
138138 <CloseIcon :size =" 20 " />
139139 </template >
140140 </NcButton >
141- <NcButton type ="tertiary"
142- native- type="submit"
141+ <NcButton variant ="tertiary"
142+ type="submit"
143143 :disabled =" loading "
144144 :title =" t (' deck' , ' Save board' )" >
145145 <template #icon >
Original file line number Diff line number Diff line change 3939 <NcButton @click =" cancel " >
4040 {{ t('deck', 'Cancel') }}
4141 </NcButton >
42- <NcButton type ="primary" @click =" save " >
42+ <NcButton variant ="primary" @click =" save " >
4343 {{ t('deck', 'Clone') }}
4444 </NcButton >
4545 </template >
Original file line number Diff line number Diff line change 2727 <NcButton @click =" close " >
2828 {{ t('deck', 'Cancel') }}
2929 </NcButton >
30- <NcButton type ="primary" @click =" exportBoard " >
30+ <NcButton variant ="primary" @click =" exportBoard " >
3131 {{ t('deck', 'Export') }}
3232 </NcButton >
3333 </template >
Original file line number Diff line number Diff line change 8282 {{ t('deck', 'Cancel') }}
8383 </NcButton >
8484 <NcButton :disabled =" loading || ! isBoardAndStackChoosen "
85- type ="primary"
85+ variant ="primary"
8686 @click =" createCard " >
8787 {{ t('deck', 'Create card') }}
8888 </NcButton >
You can’t perform that action at this time.
0 commit comments