mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 13:19:44 +02:00
feat: Toggle actions details, little redesign
This commit is contained in:
parent
e1ac5959ba
commit
45f35e8042
25 changed files with 301 additions and 81 deletions
|
@ -1,4 +1,4 @@
|
|||
import { Model, attr, fk } from 'redux-orm';
|
||||
import { Model, attr, fk, oneToOne } from 'redux-orm';
|
||||
|
||||
import ActionTypes from '../constants/ActionTypes';
|
||||
|
||||
|
@ -15,16 +15,15 @@ export default class extends Model {
|
|||
as: 'user',
|
||||
relatedName: 'notifications',
|
||||
}),
|
||||
actionId: fk({
|
||||
to: 'Action',
|
||||
as: 'action',
|
||||
relatedName: 'notifications',
|
||||
}),
|
||||
cardId: fk({
|
||||
to: 'Card',
|
||||
as: 'card',
|
||||
relatedName: 'notifications',
|
||||
}),
|
||||
actionId: oneToOne({
|
||||
to: 'Action',
|
||||
as: 'action',
|
||||
}),
|
||||
};
|
||||
|
||||
static reducer({ type, payload }, Notification) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue