mirror of
https://github.com/coalaura/whiskr.git
synced 2025-12-02 20:22:52 +00:00
fix missing id for files causing delete to not happen
This commit is contained in:
@@ -916,6 +916,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
addFile(file) {
|
addFile(file) {
|
||||||
|
if (!file.id) {
|
||||||
|
file.id = uid();
|
||||||
|
}
|
||||||
|
|
||||||
this.#files.push(file);
|
this.#files.push(file);
|
||||||
|
|
||||||
this.#_files.appendChild(
|
this.#_files.appendChild(
|
||||||
|
|||||||
Reference in New Issue
Block a user