Webapp: cleanup, braces around conditional return statement

No functional changes.
This commit is contained in:
Sybren A. Stüvel 2023-02-21 10:39:13 +01:00
parent b22ea953d5
commit a5cfa9959b

View File

@ -152,8 +152,9 @@ export default {
if (this.$refs.jobsTable) {
this.$refs.jobsTable.processJobUpdate(jobUpdate);
}
if (this.jobID != jobUpdate.id || jobUpdate.was_deleted)
if (this.jobID != jobUpdate.id || jobUpdate.was_deleted) {
return;
}
this._fetchJob(this.jobID);
if (jobUpdate.refresh_tasks) {