diff --git a/frappe/public/js/frappe/widgets/shortcut_widget.js b/frappe/public/js/frappe/widgets/shortcut_widget.js index 9d1bc5199f..6c60e13b93 100644 --- a/frappe/public/js/frappe/widgets/shortcut_widget.js +++ b/frappe/public/js/frappe/widgets/shortcut_widget.js @@ -1,6 +1,7 @@ import Widget from "./base_widget.js"; import { generate_route } from "./utils"; +const indicator_colors = ["grey", "green", "red", "orange", "pink", "yellow", "blue", "cyan", "teal"] export default class ShortcutWidget extends Widget { constructor(opts) { opts.shadow = true; @@ -75,15 +76,11 @@ export default class ShortcutWidget extends Widget { this.action_area.empty(); const label = get_label(); - const buttons = $(`