mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
fix: Indicator toggler
This commit is contained in:
@@ -106,7 +106,8 @@ class CallPopup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
set_indicator(color, blink=false) {
|
set_indicator(color, blink=false) {
|
||||||
this.dialog.header.find('.indicator').removeClass('hidden').toggleClass('blink', blink).addClass(color);
|
let classes = `indicator ${color} ${blink ? 'blink': ''}`;
|
||||||
|
this.dialog.header.find('.indicator').attr('class', classes);
|
||||||
}
|
}
|
||||||
|
|
||||||
set_call_status(call_status) {
|
set_call_status(call_status) {
|
||||||
|
|||||||
Reference in New Issue
Block a user