mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 23:35:41 +01:00
wip
This commit is contained in:
parent
49d257992f
commit
34f91f04ad
3 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ export default Vue.extend({
|
|||
},
|
||||
methods: {
|
||||
onInput(i, e) {
|
||||
this.choices[i] = e.target.value; // TODO
|
||||
Vue.set(this.choices, i, e.target.value);
|
||||
},
|
||||
|
||||
add() {
|
||||
|
|
|
@ -417,7 +417,7 @@ export default Vue.extend({
|
|||
|
||||
if (this.folders.some(f => f.id == folder.id)) {
|
||||
const exist = this.folders.map(f => f.id).indexOf(folder.id);
|
||||
this.folders[exist] = folder; // TODO
|
||||
Vue.set(this.folders, exist, folder);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -434,7 +434,7 @@ export default Vue.extend({
|
|||
|
||||
if (this.files.some(f => f.id == file.id)) {
|
||||
const exist = this.files.map(f => f.id).indexOf(file.id);
|
||||
this.files[exist] = file; // TODO
|
||||
Vue.set(this.files, exist, file);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -193,7 +193,7 @@ export default Vue.extend({
|
|||
|
||||
if (this.files.some(f => f.id == file.id)) {
|
||||
const exist = this.files.map(f => f.id).indexOf(file.id);
|
||||
this.files[exist] = file; // TODO
|
||||
Vue.set(this.files, exist, file);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue