mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-21 04:42:18 -06:00
[MIG] document_page: migration Browse Wiki Content to 18.0
This commit is contained in:
committed by
Justine Doutreloux
parent
3482986272
commit
146ec0b8d4
@@ -1,4 +1,3 @@
|
||||
/** @odoo-module **/
|
||||
import {KanbanController} from "@web/views/kanban/kanban_controller";
|
||||
|
||||
export class DocumentPageKanbanController extends KanbanController {
|
||||
@@ -6,6 +5,7 @@ export class DocumentPageKanbanController extends KanbanController {
|
||||
* @param {Object} record
|
||||
*/
|
||||
async openRecord(record) {
|
||||
// eslint-disable-next-line no-undef
|
||||
const element = document.querySelector(
|
||||
`.o_kanban_record[data-id="${record.id}"] .o_document_page_kanban_boxes a`
|
||||
);
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/** @odoo-module **/
|
||||
import {registry} from "@web/core/registry";
|
||||
import {kanbanView} from "@web/views/kanban/kanban_view";
|
||||
import {DocumentPageKanbanController} from "./document_page_kanban_controller.esm";
|
||||
|
||||
Reference in New Issue
Block a user