added the app library link when searched app not found in org

This commit is contained in:
monilprajapati
2024-12-02 12:49:23 +05:30
parent e269bf0894
commit 899bde4947
+26
View File
@@ -428,6 +428,9 @@ const AppSelection = props => {
/> />
</div> </div>
) : null} ) : null}
{
!isAppPage && (
<>
<Typography <Typography
variant="h4" variant="h4"
style={{ style={{
@@ -452,6 +455,29 @@ const AppSelection = props => {
> >
Select the apps you work with and we will connect them for you. Select the apps you work with and we will connect them for you.
</Typography> </Typography>
</>
)
}
{
isAppPage && (
<div style={{marginBottom: 20}}>
<span
style={{
fontSize: 16,
color: "rgba(158, 158, 158, 1)",
fontFamily: "Inter",
}}
>
Your organization has no apps yet, select your starting apps here
or discover more apps using the <span
onClick={() => {
navigate("/apps2?tab=all_apps")
}}
style={{ color: "#FF8444", fontWeight: "medium", fontSize: 16, cursor:"pointer" }}>App Library</span>
</span>
</div>
)
}
<Grid rowSpacing={1} columnSpacing={2} container > <Grid rowSpacing={1} columnSpacing={2} container >
{appButtons.map((appData, index) => { {appButtons.map((appData, index) => {
// This is here due to a memory issue with setting apps properly // This is here due to a memory issue with setting apps properly