mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 19:03:10 +02:00
Fix
This commit is contained in:
parent
c9ac9923df
commit
4f5abed70d
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ export default Vue.extend({
|
||||||
|
|
||||||
menu() {
|
menu() {
|
||||||
let menu = [{
|
let menu = [{
|
||||||
icon: ['far', 'list'],
|
icon: ['fas', 'list'],
|
||||||
text: this.$t('push-to-list'),
|
text: this.$t('push-to-list'),
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const lists = await this.$root.api('users/lists/list');
|
const lists = await this.$root.api('users/lists/list');
|
||||||
|
@ -130,7 +130,7 @@ export default Vue.extend({
|
||||||
},
|
},
|
||||||
showCancelButton: true
|
showCancelButton: true
|
||||||
});
|
});
|
||||||
if (listId == null) return;
|
if (!listId) return;
|
||||||
await this.$root.api('users/lists/push', {
|
await this.$root.api('users/lists/push', {
|
||||||
listId: listId,
|
listId: listId,
|
||||||
userId: this.user.id
|
userId: this.user.id
|
||||||
|
|
Loading…
Reference in a new issue