Skip to content

Commit 647b498

Browse files
Fix code formatting with Prettier
1 parent 15f4a35 commit 647b498

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dt-assets/js/settings.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,8 @@ let color_workload_buttons = (name) => {
299299
let selected = jQuery(`.status-button[name=${name}]`);
300300
selected.removeClass('hollow');
301301
// Use optional chaining and nullish coalescing instead of lodash.get
302-
const color = window.wpApiSettingsPage?.workload_status_options?.[name]?.color ?? '';
302+
const color =
303+
window.wpApiSettingsPage?.workload_status_options?.[name]?.color ?? '';
303304
selected.css('background-color', color);
304305
selected.blur();
305306
}

0 commit comments

Comments
 (0)