Skip to content
Snippets Groups Projects
Commit c8e7c539 authored by akiraohgaki's avatar akiraohgaki
Browse files

Add option to dialog open

parent 827e6154
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,10 @@ export default class CollectiondialogComponent extends BaseComponent {
}
}
open() {
open(view = '') {
if (view) {
this._handleCollectionsidebarSelect({detail: {select: view}});
}
this.contentRoot.querySelector('app-dialog').open();
}
......
......@@ -43,8 +43,8 @@ export default class OcsManagerHandler {
}
return {};
})
.add('ocsManager_collection', () => {
this._collectiondialogComponent.open();
.add('ocsManager_collection', (data) => {
this._collectiondialogComponent.open(data.view || '');
return false;
})
.add('ocsManager_openUrl', (data) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment