@ -7,7 +7,12 @@ var bannerContent = "";
export default class WebpageBanner extends Component {
constructor(props) {
super(props);
if (props.translationKey !== undefined) {
bannerContent = getTranslation(props.translationKey);
} else {
bannerContent = props.text;
}
setBannerContent(content) {