This repository was archived by the owner on Jul 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 </ul >
6666</template >
6767<script >
68+ import { t } from ' @nextcloud/l10n'
6869import NcAvatar from ' @nextcloud/vue/dist/Components/NcAvatar.js'
6970import NcSelect from ' @nextcloud/vue/dist/Components/NcSelect.js'
7071import debounce from ' lodash-es/debounce.js'
@@ -213,6 +214,7 @@ export default {
213214 },
214215
215216 methods: {
217+ t,
216218 select (selectedOption , id ) {
217219 if (selectedOption .method === METHOD_CREATE_COLLECTION ) {
218220 selectedOption .action ().then ((id ) => {
Original file line number Diff line number Diff line change 7373</template >
7474
7575<script >
76+ import { t } from ' @nextcloud/l10n'
7677import NcActions from ' @nextcloud/vue/dist/Components/NcActions.js'
7778import NcActionButton from ' @nextcloud/vue/dist/Components/NcActionButton.js'
7879import NcAvatar from ' @nextcloud/vue/dist/Components/NcAvatar.js'
@@ -123,6 +124,7 @@ export default {
123124 },
124125 },
125126 methods: {
127+ t,
126128 toggleDetails () {
127129 this .detailsOpen = ! this .detailsOpen
128130 },
You can’t perform that action at this time.
0 commit comments