Minor fixes

pull/37/head
Varun Patil 2022-09-12 21:11:45 -07:00
parent c334bd46b3
commit eadd40ec6b
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -298,7 +298,7 @@ export default class Timeline extends Mixins(GlobalMixin) {
for (let j = 0; j < row.pct; j++) {
row.photos[j] = {
flag: this.c.FLAG_PLACEHOLDER,
fileid: row.dayId * 10000 + i * 1000 + j,
fileid: Math.random(),
};
}
delete row.pct;
@ -644,7 +644,7 @@ export default class Timeline extends Mixins(GlobalMixin) {
row.photos = [];
}
}
head.day.rows = new Set();
head.day.rows.clear();
// Check if some row was added
let addedRow = false;