reloadList() {
this.stopEdit();
- this.mainTabs.components.tabs.show('items');
+ /** @var {Tabs} */
+ const tabs = window.$components.firstOnElement(this.mainTabs, 'tabs');
+ tabs.show('items');
window.$http.get(`/attachments/get/page/${this.pageId}`).then(resp => {
this.list.innerHTML = resp.data;
window.$components.init(this.list);
this.listContainer.classList.remove('hidden');
}
-}
-
-export default Attachments;
\ No newline at end of file
+}
\ No newline at end of file