Enforce template strings in eslint (#1574)

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti authored and GitHub committed 2020-11-30 15:35:16 +02:00
1 parent 07e6df9fdc
commit 335778aeef
52 files changed
+94 -88

No files matched your search

@@ -43,7 +43,7 @@ export class CronJobTriggerDialog extends Component<Props> {
onOpen = async () => {
const { cronjob } = this;
this.jobName = cronjob ? cronjob.getName() + "-manual-" + Math.random().toString(36).slice(2, 7) : "";
this.jobName = cronjob ? `${cronjob.getName()}-manual-${Math.random().toString(36).slice(2, 7)}` : "";
this.jobName = this.jobName.slice(0, 63);
this.ready = true;
};