Skip to content

Commit 2ba41ff

Browse files
authored
Scheduler: refactoring _activeStateUnit (#30982)
1 parent 3a16d12 commit 2ba41ff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/devextreme/js/__internal/core/widget/widget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const FOCUSED_STATE_CLASS = 'dx-state-focused';
3131
export const HOVER_STATE_CLASS = 'dx-state-hover';
3232
const INVISIBLE_STATE_CLASS = 'dx-state-invisible';
3333

34-
const EMPTY_ACTIVE_STATE_UNIT = '';
34+
export const EMPTY_ACTIVE_STATE_UNIT = '';
3535
const DEFAULT_FEEDBACK_HIDE_TIMEOUT = 400;
3636
const DEFAULT_FEEDBACK_SHOW_TIMEOUT = 30;
3737

packages/devextreme/js/__internal/scheduler/workspaces/m_agenda.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import dateUtils from '@js/core/utils/date';
88
import { extend } from '@js/core/utils/extend';
99
import { each } from '@js/core/utils/iterator';
1010
import { setHeight, setOuterHeight } from '@js/core/utils/size';
11+
import { EMPTY_ACTIVE_STATE_UNIT } from '@ts/core/widget/widget';
1112

1213
import {
1314
DATE_TABLE_CLASS,
@@ -49,7 +50,7 @@ class SchedulerAgenda extends WorkSpace {
4950

5051
// eslint-disable-next-line class-methods-use-this
5152
protected _activeStateUnit(): string {
52-
return '';
53+
return EMPTY_ACTIVE_STATE_UNIT;
5354
}
5455

5556
get type() { return VIEWS.AGENDA; }

0 commit comments

Comments
 (0)