diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts index 14980d1184..8267044a88 100644 --- a/app/client/src/ce/constants/messages.ts +++ b/app/client/src/ce/constants/messages.ts @@ -269,6 +269,8 @@ export const WORKSPACES_HEADING = () => `Workspaces`; export const WELCOME_TOUR = () => `Welcome tour`; export const NO_APPS_FOUND = () => `Whale! Whale! This name doesn't ring a bell!`; +export const APPLICATION_CARD_LIST_ZERO_STATE = () => + `There are no apps in this workspace.`; // Lightning menu export const LIGHTNING_MENU_DATA_API = () => `Use data from an API`; diff --git a/app/client/src/ce/pages/Applications/ApplicationCardList.tsx b/app/client/src/ce/pages/Applications/ApplicationCardList.tsx index e26e67f0a7..9d03ab288d 100644 --- a/app/client/src/ce/pages/Applications/ApplicationCardList.tsx +++ b/app/client/src/ce/pages/Applications/ApplicationCardList.tsx @@ -13,6 +13,10 @@ import { NoAppsFound } from "@appsmith/pages/Applications"; import ApplicationCard from "pages/Applications/ApplicationCard"; import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; import type { UpdateApplicationPayload } from "@appsmith/api/ApplicationApi"; +import { + APPLICATION_CARD_LIST_ZERO_STATE, + createMessage, +} from "@appsmith/constants/messages"; const NoAppsFoundIcon = importSvg( async () => import("assets/svg/no-apps-icon.svg"), @@ -81,7 +85,7 @@ function ApplicationCardList({ {applications.length === 0 && ( - There’s nothing inside this workspace + {createMessage(APPLICATION_CARD_LIST_ZERO_STATE)} {/* below component is duplicate. This is because of cypress test were failing */} {hasCreateNewApplicationPermission && (