chore: format

This commit is contained in:
safwansamsudeen 2024-12-02 14:52:15 +05:30
parent 3519755dc3
commit d7fb48031a

View File

@ -670,8 +670,10 @@ export default class Gantt {
upper_y: this.options.header_height - 50,
};
const upper_text = this.config.view_mode.upper_text;
const lower_text = this.config.view_mode.lower_text;
let upper_text = this.config.view_mode.upper_text;
let lower_text = this.config.view_mode.lower_text;
if (!upper_text) upper_text = () => '';
if (!lower_text) lower_text = () => '';
return {
date,