addons/mail/static/src/js/rotting_mixin/rotting_kanban_header.js
raw| 1 | import { KanbanHeader } from "@web/views/kanban/kanban_header"; |
| 2 | import { RottingColumnProgress } from "./rotting_column_progress"; |
| 3 | |
| 4 | export class RottingKanbanHeader extends KanbanHeader { |
| 5 | static template = "mail.RottingKanbanHeader"; |
| 6 | static components = { |
| 7 | ...KanbanHeader.components, |
| 8 | ColumnProgress: RottingColumnProgress, |
| 9 | }; |
| 10 | |
| 11 | onRotIconClicked(group) { |
| 12 | this.props.progressBarState.toggleFilterRotten(group); |
| 13 | } |
| 14 | } |