mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[REF] devtools: linting and context menu rework
This commit cleans up linting issues and proposes a new implementation for the devtools custom context menus.
This commit is contained in:
committed by
Géry Debongnie
parent
5ecb4809ff
commit
aff4019cde
@@ -1,13 +1,14 @@
|
||||
const { Component } = owl;
|
||||
import { ComponentsTab } from "./components_tab/components_tab";
|
||||
import { Tab } from "./tab/tab";
|
||||
import { ProfilerTab } from "./profiler_tab/profiler_tab";
|
||||
import { ContextMenu } from "../context_menu/context_menu";
|
||||
import { useStore } from "../store/store";
|
||||
import { ComponentsTab } from "./components_tab/components_tab";
|
||||
import { ProfilerTab } from "./profiler_tab/profiler_tab";
|
||||
import { Tab } from "./tab/tab";
|
||||
|
||||
export class DevtoolsWindow extends Component {
|
||||
static props = [];
|
||||
static template = "devtools.DevtoolsWindow";
|
||||
static components = { ComponentsTab, Tab, ProfilerTab };
|
||||
static components = { ComponentsTab, Tab, ProfilerTab, ContextMenu };
|
||||
setup() {
|
||||
this.store = useStore();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user