This commit is contained in:
Eugene Pankov 2021-08-14 23:37:42 +02:00
parent 7551201796
commit 98e52f50a9
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -174,7 +174,7 @@ export class AppService {
* @param inputs Properties to be assigned on the new tab component instance
*/
openNewTab <T extends BaseTabComponent> (params: NewTabParameters<T>): T {
if (params.type === SplitTabComponent) {
if (params.type as any === SplitTabComponent) {
return this.openNewTabRaw(params)
}
const splitTab = this.tabsService.create({ type: SplitTabComponent })