forked from MapComplete/MapComplete
Fix deploy
This commit is contained in:
parent
9c53fe9868
commit
3f8b6e88d3
39 changed files with 381 additions and 562 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue