ref: Little refactoring
This commit is contained in:
@@ -71,6 +71,11 @@ export const ListTypes = {
|
||||
TRASH: 'trash',
|
||||
};
|
||||
|
||||
export const ListTypeStates = {
|
||||
OPENED: 'opened',
|
||||
CLOSED: 'closed',
|
||||
};
|
||||
|
||||
export const ListSortFieldNames = {
|
||||
NAME: 'name',
|
||||
DUE_DATE: 'dueDate',
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
/*!
|
||||
* Copyright (c) 2024 PLANKA Software GmbH
|
||||
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
|
||||
*/
|
||||
|
||||
import { ListTypes, ListTypeStates } from './Enums';
|
||||
|
||||
export default {
|
||||
[ListTypes.ACTIVE]: ListTypeStates.OPENED,
|
||||
[ListTypes.CLOSED]: ListTypeStates.CLOSED,
|
||||
};
|
||||
Reference in New Issue
Block a user