This commit is contained in:
Bruno Windels 2020-12-04 14:00:50 +01:00
parent aa62f1fedc
commit e69b92418f

View file

@ -40,7 +40,7 @@ class ShowLinkView extends TemplateView {
}, vm => vm.showClientsLabel)),
t.mapView(vm => vm.clientsViewModel, childVM => childVM ? new ClientListView(childVM) : null),
t.p({className: {previewSource: true, hidden: vm => !vm.previewDomain}}, [
vm => vm.previewFailed ? `${vm.previewDomain} did not return a preview.` : `Preview provided by ${vm.previewDomain}.`,
vm => vm.previewFailed ? `${vm.previewDomain} has not returned a preview.` : `Preview provided by ${vm.previewDomain}.`,
" ",
t.button({className: "text", onClick: () => vm.changeServer()}, "Change"),
]),