categorize entry manager as under tab management
This commit is contained in:
parent
bdd8eda819
commit
d5a80e7bdf
1 changed files with 2 additions and 4 deletions
|
@ -1,14 +1,12 @@
|
||||||
import Tabs from "/scripts/GUI/tabs.js";
|
import Tabs from "/scripts/GUI/tabs.js";
|
||||||
import Entry from "/scripts/external/entry.js"
|
import Entry_Manager from "/scripts/external/entries/manager.js"
|
||||||
|
|
||||||
export default class Watcher_Tabs {
|
export default class Watcher_Tabs {
|
||||||
constructor () {
|
constructor () {
|
||||||
|
new Entry_Manager();
|
||||||
Tabs.addActionListener(`update`, this.check);
|
Tabs.addActionListener(`update`, this.check);
|
||||||
};
|
};
|
||||||
|
|
||||||
check(data) {
|
check(data) {
|
||||||
if ((data.tab) ? data.tab.url : false) {
|
|
||||||
Entry.manage(data.tab);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue