Fix deploy

This commit is contained in:
Pieter Vander Vennet 2020-11-06 01:58:26 +01:00
parent 9c53fe9868
commit 3f8b6e88d3
39 changed files with 381 additions and 562 deletions

View file

@ -1,4 +1,5 @@
import {UIElement} from "../UIElement";
import Translations from "../i18n/Translations";
export default class Link extends UIElement {
@ -6,9 +7,9 @@ export default class Link extends UIElement {
private readonly _target: string;
private readonly _newTab: string;
constructor(embeddedShow: UIElement, target: string, newTab: boolean = false) {
constructor(embeddedShow: UIElement | string, target: string, newTab: boolean = false) {
super();
this._embeddedShow = embeddedShow;
this._embeddedShow = Translations.W(embeddedShow);
this._target = target;
this._newTab = "";
if (newTab) {