Skip to content

Commit

Permalink
Merge pull request #1886 from akto-api-security/hotfix/bug_in_welcome…
Browse files Browse the repository at this point in the history
…_back_details_modal

Enable modal for all users
  • Loading branch information
Ark2307 authored Jan 2, 2025
2 parents 27b5029 + b1f1e16 commit b969fe6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function Dashboard() {

},[])

const shouldShowWelcomeBackModal = window.IS_SAAS === "true" && window?.USER_NAME?.length > 0 && (window.USER_NAME.indexOf("@akto.io")>0) && (window?.USER_FULL_NAME?.length === 0 || (window?.USER_ROLE === 'ADMIN' && window?.ORGANIZATION_NAME?.length === 0))
const shouldShowWelcomeBackModal = window.IS_SAAS === "true" && window?.USER_NAME?.length > 0 && (window?.USER_FULL_NAME?.length === 0 || (window?.USER_ROLE === 'ADMIN' && window?.ORGANIZATION_NAME?.length === 0))

return (
<div className="dashboard">
Expand Down

0 comments on commit b969fe6

Please sign in to comment.