allow multiple collection views

pull/53/head
Zlatin Balevsky 2020-11-01 17:57:29 +00:00
parent 9f93b07b12
commit 4af07ece40
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 3 additions and 2 deletions

View File

@ -170,12 +170,13 @@ class SearchTabController {
if (event == null || event.collections.isEmpty())
return
UUID uuid = UUID.randomUUID()
def params = [:]
params['fileName'] = event.name
params['eventBus'] = mvcGroup.parentGroup.model.core.eventBus
params['infoHashes'] = event.collections.collect()
params['uuid'] = UUID.randomUUID()
params['uuid'] = uuid
params['host'] = event.sender
mvcGroup.createMVCGroup("collection-tab", params)
mvcGroup.createMVCGroup("collection-tab", uuid.toString(), params)
}
}