forked from vikunja/frontend
Enforce trailing commas
This commit is contained in:
parent
5d36d9399d
commit
c3c22bf202
|
@ -1,5 +1,5 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
presets: [
|
presets: [
|
||||||
'@vue/app'
|
'@vue/app',
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,6 +76,10 @@
|
||||||
"quotes": [
|
"quotes": [
|
||||||
"error",
|
"error",
|
||||||
"single"
|
"single"
|
||||||
|
],
|
||||||
|
"comma-dangle": [
|
||||||
|
"error",
|
||||||
|
"always-multiline"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
|
|
|
@ -55,7 +55,7 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
showIconOnly() {
|
showIconOnly() {
|
||||||
return this.icon !== '' && typeof this.$slots.default === 'undefined'
|
return this.icon !== '' && typeof this.$slots.default === 'undefined'
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
click(e) {
|
click(e) {
|
||||||
|
|
|
@ -145,16 +145,16 @@ export default {
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
value: {
|
value: {
|
||||||
validator: prop => prop instanceof Date || prop === null || typeof prop === 'string'
|
validator: prop => prop instanceof Date || prop === null || typeof prop === 'string',
|
||||||
},
|
},
|
||||||
chooseDateLabel: {
|
chooseDateLabel: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'Choose a date'
|
default: 'Choose a date',
|
||||||
},
|
},
|
||||||
disabled: {
|
disabled: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.setDateValue(this.value)
|
this.setDateValue(this.value)
|
||||||
|
|
|
@ -108,21 +108,21 @@ export default {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default() {
|
default() {
|
||||||
return false
|
return false
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// The placeholder of the search input
|
// The placeholder of the search input
|
||||||
placeholder: {
|
placeholder: {
|
||||||
type: String,
|
type: String,
|
||||||
default() {
|
default() {
|
||||||
return ''
|
return ''
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// The search results where the @search listener needs to put the results into
|
// The search results where the @search listener needs to put the results into
|
||||||
searchResults: {
|
searchResults: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default() {
|
default() {
|
||||||
return []
|
return []
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// The name of the property of the searched object to show the user.
|
// The name of the property of the searched object to show the user.
|
||||||
// If empty the component will show all raw data of an entry.
|
// If empty the component will show all raw data of an entry.
|
||||||
|
@ -130,13 +130,13 @@ export default {
|
||||||
type: String,
|
type: String,
|
||||||
default() {
|
default() {
|
||||||
return ''
|
return ''
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// The object with the value, updated every time an entry is selected.
|
// The object with the value, updated every time an entry is selected.
|
||||||
value: {
|
value: {
|
||||||
default() {
|
default() {
|
||||||
return null
|
return null
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// If true, will provide an "add this as a new value" entry which fires an @create event when clicking on it.
|
// If true, will provide an "add this as a new value" entry which fires an @create event when clicking on it.
|
||||||
creatable: {
|
creatable: {
|
||||||
|
|
|
@ -22,7 +22,7 @@ export default {
|
||||||
type: String,
|
type: String,
|
||||||
required: false,
|
required: false,
|
||||||
default: '',
|
default: '',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -6,6 +6,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'nothing'
|
name: 'nothing',
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -14,7 +14,7 @@ export default {
|
||||||
keys: {
|
keys: {
|
||||||
type: Array,
|
type: Array,
|
||||||
required: true,
|
required: true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -115,7 +115,7 @@ export default {
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
this.error(e, this)
|
this.error(e, this)
|
||||||
})
|
})
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -382,7 +382,7 @@ export default {
|
||||||
reset() {
|
reset() {
|
||||||
this.query = ''
|
this.query = ''
|
||||||
this.selectedCmd = null
|
this.selectedCmd = null
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -250,7 +250,7 @@ export default {
|
||||||
this.showNewForm = false
|
this.showNewForm = false
|
||||||
this.success(
|
this.success(
|
||||||
{message: 'The link share was successfully created'},
|
{message: 'The link share was successfully created'},
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
this.load()
|
this.load()
|
||||||
})
|
})
|
||||||
|
@ -268,7 +268,7 @@ export default {
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.success(
|
this.success(
|
||||||
{message: 'The link share was successfully deleted'},
|
{message: 'The link share was successfully deleted'},
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
this.load()
|
this.load()
|
||||||
})
|
})
|
||||||
|
|
|
@ -245,7 +245,7 @@ export default {
|
||||||
.then((r) => {
|
.then((r) => {
|
||||||
this.$set(this, 'sharables', r)
|
this.$set(this, 'sharables', r)
|
||||||
r.forEach((s) =>
|
r.forEach((s) =>
|
||||||
this.$set(this.selectedRight, s.id, s.right)
|
this.$set(this.selectedRight, s.id, s.right),
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
@ -302,7 +302,7 @@ export default {
|
||||||
this.shareType +
|
this.shareType +
|
||||||
' was successfully added.',
|
' was successfully added.',
|
||||||
},
|
},
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
this.load()
|
this.load()
|
||||||
})
|
})
|
||||||
|
@ -347,7 +347,7 @@ export default {
|
||||||
this.shareType +
|
this.shareType +
|
||||||
' right was successfully updated.',
|
' right was successfully updated.',
|
||||||
},
|
},
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
|
|
@ -51,15 +51,15 @@ export default {
|
||||||
listService: ListService,
|
listService: ListService,
|
||||||
taskService: TaskService,
|
taskService: TaskService,
|
||||||
labelService: LabelService,
|
labelService: LabelService,
|
||||||
labelTaskService: LabelTaskService
|
labelTaskService: LabelTaskService,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
components: {},
|
components: {},
|
||||||
props: {
|
props: {
|
||||||
listId: {
|
listId: {
|
||||||
type: Number,
|
type: Number,
|
||||||
required: false
|
required: false,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.listService = new ListService();
|
this.listService = new ListService();
|
||||||
|
@ -75,9 +75,9 @@ export default {
|
||||||
}
|
}
|
||||||
this.showError = false;
|
this.showError = false;
|
||||||
|
|
||||||
let task = new TaskModel({
|
const task = new TaskModel({
|
||||||
title: this.newTaskText,
|
title: this.newTaskText,
|
||||||
listId: this.listId
|
listId: this.listId,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (this.listId === undefined) {
|
if (this.listId === undefined) {
|
||||||
|
@ -107,7 +107,7 @@ export default {
|
||||||
labelAddsToWaitFor.push(
|
labelAddsToWaitFor.push(
|
||||||
new Promise((resolve, reject) => {
|
new Promise((resolve, reject) => {
|
||||||
labelAddings.push({ resolve: resolve, reject: reject });
|
labelAddings.push({ resolve: resolve, reject: reject });
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ export default {
|
||||||
if (res.length > 0 && res[0].title === labelTitle) {
|
if (res.length > 0 && res[0].title === labelTitle) {
|
||||||
const labelTask = new LabelTask({
|
const labelTask = new LabelTask({
|
||||||
taskId: task.id,
|
taskId: task.id,
|
||||||
labelId: res[0].id
|
labelId: res[0].id,
|
||||||
});
|
});
|
||||||
this.labelTaskService
|
this.labelTaskService
|
||||||
.create(labelTask)
|
.create(labelTask)
|
||||||
|
@ -157,7 +157,7 @@ export default {
|
||||||
.then(res => {
|
.then(res => {
|
||||||
const labelTask = new LabelTask({
|
const labelTask = new LabelTask({
|
||||||
taskId: task.id,
|
taskId: task.id,
|
||||||
labelId: res.id
|
labelId: res.id,
|
||||||
});
|
});
|
||||||
this.labelTaskService
|
this.labelTaskService
|
||||||
.create(labelTask)
|
.create(labelTask)
|
||||||
|
@ -167,7 +167,7 @@ export default {
|
||||||
// Remove the label text from the task title
|
// Remove the label text from the task title
|
||||||
task.title = task.title.replace(
|
task.title = task.title.replace(
|
||||||
` ~${labelTitle}`,
|
` ~${labelTitle}`,
|
||||||
''
|
'',
|
||||||
);
|
);
|
||||||
|
|
||||||
// Make the promise done (the one with the index 0 does not exist)
|
// Make the promise done (the one with the index 0 does not exist)
|
||||||
|
@ -209,7 +209,7 @@ export default {
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
this.error(e, this);
|
this.error(e, this);
|
||||||
});
|
});
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -387,7 +387,7 @@ export default {
|
||||||
|
|
||||||
let startDate = new Date(this.startDate)
|
let startDate = new Date(this.startDate)
|
||||||
startDate.setDate(
|
startDate.setDate(
|
||||||
startDate.getDate() + newRect.left / this.dayWidth
|
startDate.getDate() + newRect.left / this.dayWidth,
|
||||||
)
|
)
|
||||||
startDate.setUTCHours(0)
|
startDate.setUTCHours(0)
|
||||||
startDate.setUTCMinutes(0)
|
startDate.setUTCMinutes(0)
|
||||||
|
@ -396,7 +396,7 @@ export default {
|
||||||
this.taskDragged.startDate = startDate
|
this.taskDragged.startDate = startDate
|
||||||
let endDate = new Date(startDate)
|
let endDate = new Date(startDate)
|
||||||
endDate.setDate(
|
endDate.setDate(
|
||||||
startDate.getDate() + newRect.width / this.dayWidth
|
startDate.getDate() + newRect.width / this.dayWidth,
|
||||||
)
|
)
|
||||||
this.taskDragged.startDate = startDate
|
this.taskDragged.startDate = startDate
|
||||||
this.taskDragged.endDate = endDate
|
this.taskDragged.endDate = endDate
|
||||||
|
@ -439,7 +439,7 @@ export default {
|
||||||
this.$set(
|
this.$set(
|
||||||
this.theTasks,
|
this.theTasks,
|
||||||
tt,
|
tt,
|
||||||
this.addGantAttributes(r)
|
this.addGantAttributes(r),
|
||||||
)
|
)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
|
@ -224,7 +224,7 @@ export default {
|
||||||
.then((r) => {
|
.then((r) => {
|
||||||
this.$store.commit(
|
this.$store.commit(
|
||||||
'attachments/removeById',
|
'attachments/removeById',
|
||||||
this.attachmentToDelete.id
|
this.attachmentToDelete.id,
|
||||||
)
|
)
|
||||||
this.success(r, this)
|
this.success(r, this)
|
||||||
})
|
})
|
||||||
|
|
|
@ -260,7 +260,7 @@ export default {
|
||||||
this.newComment.comment = ''
|
this.newComment.comment = ''
|
||||||
this.success(
|
this.success(
|
||||||
{message: 'The comment was added successfully.'},
|
{message: 'The comment was added successfully.'},
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
|
|
@ -91,7 +91,7 @@ export default {
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
this.saving = false
|
this.saving = false
|
||||||
})
|
})
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -95,7 +95,7 @@ export default {
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
this.saving = false
|
this.saving = false
|
||||||
})
|
})
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -135,7 +135,7 @@ export default {
|
||||||
showListColor: {
|
showListColor: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true,
|
default: true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
theTask(newVal) {
|
theTask(newVal) {
|
||||||
|
@ -183,7 +183,7 @@ export default {
|
||||||
callback: () => {
|
callback: () => {
|
||||||
this.task.done = !this.task.done
|
this.task.done = !this.task.done
|
||||||
this.markAsDone(!checked)
|
this.markAsDone(!checked)
|
||||||
}
|
},
|
||||||
}],
|
}],
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
|
@ -170,7 +170,7 @@ export default new Router({
|
||||||
name: 'list.create',
|
name: 'list.create',
|
||||||
components: {
|
components: {
|
||||||
popup: NewListComponent,
|
popup: NewListComponent,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/namespaces/:id/settings/edit',
|
path: '/namespaces/:id/settings/edit',
|
||||||
|
|
|
@ -69,6 +69,6 @@ export default {
|
||||||
ctx.commit('setList', list)
|
ctx.commit('setList', list)
|
||||||
return Promise.reject(e)
|
return Promise.reject(e)
|
||||||
})
|
})
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
|
@ -44,7 +44,7 @@ export default {
|
||||||
name: 'Home',
|
name: 'Home',
|
||||||
components: {
|
components: {
|
||||||
ShowTasks,
|
ShowTasks,
|
||||||
AddTask
|
AddTask,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
@ -54,7 +54,7 @@ export default {
|
||||||
defaultList: ListModel,
|
defaultList: ListModel,
|
||||||
updateWelcomeInterval: 1000,
|
updateWelcomeInterval: 1000,
|
||||||
welcomePrefix: 'Hi',
|
welcomePrefix: 'Hi',
|
||||||
showTasksKey: 0
|
showTasksKey: 0,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -64,7 +64,7 @@ export default {
|
||||||
mounted() {
|
mounted() {
|
||||||
const timer = window.setTimeout(
|
const timer = window.setTimeout(
|
||||||
this.updateWelcome,
|
this.updateWelcome,
|
||||||
this.updateWelcomeInterval
|
this.updateWelcomeInterval,
|
||||||
);
|
);
|
||||||
this.$on('hook:destroyed', () => window.clearTimeout(timer));
|
this.$on('hook:destroyed', () => window.clearTimeout(timer));
|
||||||
},
|
},
|
||||||
|
@ -88,7 +88,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
return state.namespaces.namespaces[0].lists.length > 0;
|
return state.namespaces.namespaces[0].lists.length > 0;
|
||||||
}
|
},
|
||||||
}),
|
}),
|
||||||
methods: {
|
methods: {
|
||||||
updateTaskList() {
|
updateTaskList() {
|
||||||
|
@ -105,9 +105,9 @@ export default {
|
||||||
}
|
}
|
||||||
this.$options.timer = window.setTimeout(
|
this.$options.timer = window.setTimeout(
|
||||||
this.updateDateTime,
|
this.updateDateTime,
|
||||||
this.updateWelcomeInterval
|
this.updateWelcomeInterval,
|
||||||
);
|
);
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -79,7 +79,7 @@ export default {
|
||||||
})
|
})
|
||||||
this.success(
|
this.success(
|
||||||
{ message: 'The label was successfully created.' },
|
{ message: 'The label was successfully created.' },
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
|
|
@ -71,7 +71,7 @@ export default {
|
||||||
.then((r) => {
|
.then((r) => {
|
||||||
this.success(
|
this.success(
|
||||||
{ message: 'The list was successfully created.' },
|
{ message: 'The list was successfully created.' },
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'list.index',
|
name: 'list.index',
|
||||||
|
|
|
@ -194,7 +194,7 @@ export default {
|
||||||
labelTaskService: LabelTaskService,
|
labelTaskService: LabelTaskService,
|
||||||
labelService: LabelService,
|
labelService: LabelService,
|
||||||
|
|
||||||
ctaVisible: false
|
ctaVisible: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mixins: [taskList],
|
mixins: [taskList],
|
||||||
|
@ -203,7 +203,7 @@ export default {
|
||||||
FilterPopup,
|
FilterPopup,
|
||||||
SingleTaskInList,
|
SingleTaskInList,
|
||||||
EditTask,
|
EditTask,
|
||||||
AddTask
|
AddTask,
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.taskService = new TaskService();
|
this.taskService = new TaskService();
|
||||||
|
@ -216,7 +216,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: mapState({
|
computed: mapState({
|
||||||
canWrite: state => state.currentList.maxRight > Rights.READ,
|
canWrite: state => state.currentList.maxRight > Rights.READ,
|
||||||
list: state => state.currentList
|
list: state => state.currentList,
|
||||||
}),
|
}),
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$nextTick(() => (this.ctaVisible = true));
|
this.$nextTick(() => (this.ctaVisible = true));
|
||||||
|
@ -255,7 +255,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.sortTasks();
|
this.sortTasks();
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -82,7 +82,7 @@ export default {
|
||||||
this.$store.commit('namespaces/addNamespace', r)
|
this.$store.commit('namespaces/addNamespace', r)
|
||||||
this.success(
|
this.success(
|
||||||
{ message: 'The namespace was successfully created.' },
|
{ message: 'The namespace was successfully created.' },
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
this.$router.back()
|
this.$router.back()
|
||||||
})
|
})
|
||||||
|
|
|
@ -637,7 +637,7 @@ export default {
|
||||||
this.$refs[fieldName].$el.scrollIntoView({
|
this.$refs[fieldName].$el.scrollIntoView({
|
||||||
behavior: 'smooth',
|
behavior: 'smooth',
|
||||||
block: 'center',
|
block: 'center',
|
||||||
inline: 'nearest'
|
inline: 'nearest',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -265,7 +265,7 @@ export default {
|
||||||
this.team = response
|
this.team = response
|
||||||
this.success(
|
this.success(
|
||||||
{message: 'The team was successfully updated.'},
|
{message: 'The team was successfully updated.'},
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
@ -278,7 +278,7 @@ export default {
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.success(
|
this.success(
|
||||||
{message: 'The team was successfully deleted.'},
|
{message: 'The team was successfully deleted.'},
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
router.push({name: 'teams.index'})
|
router.push({name: 'teams.index'})
|
||||||
})
|
})
|
||||||
|
@ -295,7 +295,7 @@ export default {
|
||||||
message:
|
message:
|
||||||
'The user was successfully deleted from the team.',
|
'The user was successfully deleted from the team.',
|
||||||
},
|
},
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
this.loadTeam()
|
this.loadTeam()
|
||||||
})
|
})
|
||||||
|
@ -317,7 +317,7 @@ export default {
|
||||||
this.loadTeam()
|
this.loadTeam()
|
||||||
this.success(
|
this.success(
|
||||||
{message: 'The team member was successfully added.'},
|
{message: 'The team member was successfully added.'},
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
@ -343,7 +343,7 @@ export default {
|
||||||
(member.admin ? 'admin' : 'member') +
|
(member.admin ? 'admin' : 'member') +
|
||||||
'.',
|
'.',
|
||||||
},
|
},
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
|
|
@ -69,7 +69,7 @@ export default {
|
||||||
})
|
})
|
||||||
this.success(
|
this.success(
|
||||||
{ message: 'The team was successfully created.' },
|
{ message: 'The team was successfully created.' },
|
||||||
this
|
this,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
|
|
|
@ -320,7 +320,7 @@ export default {
|
||||||
migratorsEnabled: state => state.config.availableMigrators !== null && state.config.availableMigrators.length > 0,
|
migratorsEnabled: state => state.config.availableMigrators !== null && state.config.availableMigrators.length > 0,
|
||||||
caldavEnabled: state => state.config.caldavEnabled,
|
caldavEnabled: state => state.config.caldavEnabled,
|
||||||
userInfo: state => state.auth.info,
|
userInfo: state => state.auth.info,
|
||||||
})
|
}),
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updatePassword() {
|
updatePassword() {
|
||||||
|
|
|
@ -24,18 +24,18 @@ module.exports = {
|
||||||
{
|
{
|
||||||
'src': './images/icons/android-chrome-192x192.png',
|
'src': './images/icons/android-chrome-192x192.png',
|
||||||
'sizes': '192x192',
|
'sizes': '192x192',
|
||||||
'type': 'image/png'
|
'type': 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'src': './images/icons/android-chrome-512x512.png',
|
'src': './images/icons/android-chrome-512x512.png',
|
||||||
'sizes': '512x512',
|
'sizes': '512x512',
|
||||||
'type': 'image/png'
|
'type': 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'src': './images/icons/icon-maskable.png',
|
'src': './images/icons/icon-maskable.png',
|
||||||
'sizes': '1024x1024',
|
'sizes': '1024x1024',
|
||||||
'type': 'image/png',
|
'type': 'image/png',
|
||||||
'purpose': 'maskable'
|
'purpose': 'maskable',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
shortcuts: [
|
shortcuts: [
|
||||||
|
@ -62,8 +62,8 @@ module.exports = {
|
||||||
name: 'Teams Overview',
|
name: 'Teams Overview',
|
||||||
short_name: 'Teams',
|
short_name: 'Teams',
|
||||||
url: '/teams',
|
url: '/teams',
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
Loading…
Reference in New Issue