Skip to content

Commit 281f506

Browse files
Merge pull request #1344 from devtron-labs/fixes/app-env-filter
fix: error msg issues
2 parents 0f1a1e9 + 2099c92 commit 281f506

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/ApplicationGroup/CreateAppGroup.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export default function CreateAppGroup({
190190
})}
191191
{unauthorizedAppList.length > 0 && (
192192
<div className="dc__bold ml-4">
193-
You don't have admin/manager pemission for the following Application.
193+
{`You don't have admin/manager pemission for the following ${filterParentTypeMsg}.`}
194194
</div>
195195
)}
196196
{unauthorizedAppList.map((app) => {
@@ -200,7 +200,7 @@ export default function CreateAppGroup({
200200
className="default-tt w-200"
201201
arrow={false}
202202
placement="bottom-start"
203-
content="You don't have admin/manager pemission for this app."
203+
content={`You don't have admin/manager pemission for this ${filterParentTypeMsg}.`}
204204
>
205205
<div>
206206
<div className="flex left dc__hover-n50 p-8 fs-13 fw-4 cn-9 selected-app-row cursor">
@@ -239,7 +239,7 @@ export default function CreateAppGroup({
239239
className="default-tt w-200"
240240
arrow={false}
241241
placement="bottom-start"
242-
content={`You don't have admin/manager pemission for this ${filterParentTypeMsg}.}`}
242+
content={`You don't have admin/manager pemission for this ${filterParentTypeMsg}.`}
243243
>
244244
<div>{children}</div>
245245
</Tippy>

src/components/app/details/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export default function AppDetailsPage({ isV2 }: AppDetailsProps) {
150150
return toast.info(
151151
<ToastBody
152152
title={`Cannot ${action} filter`}
153-
subtitle={`You can ${action} a filter with only those applications for which you have admin/manager permission.`}
153+
subtitle={`You can ${action} a filter with only those environments for which you have admin/manager permission.`}
154154
/>,
155155
{
156156
className: 'devtron-toast unauthorized',

0 commit comments

Comments
 (0)