parent
bd4c0a5da0
commit
30a153e6ee
1 changed files with 4 additions and 0 deletions
|
@ -454,6 +454,10 @@ export default abstract class Chart<T extends Schema> {
|
|||
columns[columnPrefix + name] = v;
|
||||
}
|
||||
|
||||
if (Object.keys(columns).length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
const update = async (logHour: RawRecord<T>, logDay: RawRecord<T>): Promise<void> => {
|
||||
await Promise.all([
|
||||
this.repositoryForHour.createQueryBuilder()
|
||||
|
|
Loading…
Reference in a new issue