Variables: Adding dashboard to test updating variables from data link (#25192)

This commit is contained in:
Torkel Ödegaard
2020-06-16 13:58:18 +02:00
committed by GitHub
parent 4aff2d7469
commit aa5fb20cfd
3 changed files with 187 additions and 65 deletions

View File

@@ -367,7 +367,7 @@ export const getLinksSupplier = (
const info: LinkModel<Field> = {
href: locationUtil.assureBaseUrl(href.replace(/\n/g, '')),
title: link.title || '',
target: link.targetBlank ? '_blank' : '_self',
target: link.targetBlank ? '_blank' : undefined,
origin: field,
};

View File

@@ -34,7 +34,7 @@ export interface DataLink {
};
}
export type LinkTarget = '_blank' | '_self';
export type LinkTarget = '_blank' | '_self' | undefined;
/**
* Processed Link Model. The values are ready to use