forked from DigiLive/mushroom-strategy
Fix domain of lock view
The lock view's domain was defined as `vacuum` causing the view to show the wrong entities.
This commit is contained in:
@@ -7,13 +7,13 @@ import { localize } from '../utilities/localize';
|
|||||||
import AbstractView from './AbstractView';
|
import AbstractView from './AbstractView';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Vacuum View Class.
|
* Lock View Class.
|
||||||
*
|
*
|
||||||
* Used to create a view configuration for entities of the lock domain.
|
* Used to create a view configuration for entities of the lock domain.
|
||||||
*/
|
*/
|
||||||
class LockView extends AbstractView {
|
class LockView extends AbstractView {
|
||||||
/** The domain of the entities that the view is representing. */
|
/** The domain of the entities that the view is representing. */
|
||||||
static readonly domain = 'vacuum' as const;
|
static readonly domain = 'lock' as const;
|
||||||
|
|
||||||
/** Returns the default configuration object for the view. */
|
/** Returns the default configuration object for the view. */
|
||||||
static getDefaultConfig(): ViewConfig {
|
static getDefaultConfig(): ViewConfig {
|
||||||
|
Reference in New Issue
Block a user