Fixes link building of buttons

parent 23b105a7
Pipeline #21965 passed with stages
in 11 minutes and 5 seconds
......@@ -44,7 +44,7 @@ export class FooterBarComponent {
}
public getLinkTarget(elem: IFooterBarElement): Function | string {
return typeof elem.linkTarget === 'function' ? elem.linkTarget(elem) : elem.linkTarget;
return typeof elem.linkTarget === 'function' ? elem.linkTarget(elem) : elem.linkTarget instanceof Array ? elem.linkTarget : [elem.linkTarget];
}
public getQueryParams(elem: IFooterBarElement): object {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment