parent
55be9cc9d1
commit
056fef70da
6 changed files with 74 additions and 37 deletions
|
|
@ -46,7 +46,7 @@ export default Vue.extend({
|
|||
created() {
|
||||
this.menu = [{
|
||||
icon: faCog,
|
||||
text: this.$t('list'),
|
||||
text: this.$t('selectList'),
|
||||
action: this.setList
|
||||
}];
|
||||
},
|
||||
|
|
@ -61,7 +61,7 @@ export default Vue.extend({
|
|||
async setList() {
|
||||
const lists = await this.$root.api('users/lists/list');
|
||||
const { canceled, result: list } = await this.$root.dialog({
|
||||
title: this.$t('list'),
|
||||
title: this.$t('selectList'),
|
||||
type: null,
|
||||
select: {
|
||||
items: lists.map(x => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue