Made "Details" link open in a new tab (#35)

This commit is contained in:
iko 2021-02-08 13:34:19 +03:00
parent 26d9451b24
commit b2c89c8551
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ deploymentHead dfiDyn sentEv =
void $ aButtonDynClass'
"page__action button button--secondary button--logs"
"Details"
(pure $ "href" =: url)
(pure $ "href" =: url <> "target" =: "_blank")
)
delEv <- confirmArchivePopup archEv $ do
text "Are you sure you want to archive the"

View File

@ -308,7 +308,7 @@ activeDeploymentWidget clickedEv dDyn' = do
url' <- kubeDashboardUrl (view #deployment <$> dDyn)
void . dyn $ url' <&> maybe blank (\url ->
void $ aButtonClass' "action action--logs" "Details"
(pure $ "href" =: url)
(pure $ "href" =: url <> "target" =: "_blank")
)
pure $
leftmost