Skip to content

Commit

Permalink
add warning about associated resources
Browse files Browse the repository at this point in the history
  • Loading branch information
mrCherry97 committed Jan 14, 2025
1 parent 3b648d7 commit be1ad87
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/KymaModules/KymaModulesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
Badge,
List,
StandardListItem,
MessageStrip,
} from '@ui5/webcomponents-react';

import { HintButton } from 'shared/components/DescriptionHint/DescriptionHint';
Expand Down Expand Up @@ -467,6 +468,10 @@ export default function KymaModulesList({
additionalDeleteInfo={
getAssciatedResources().length > 0 && (
<>
<MessageStrip design="Warning" hideCloseButton>
If there are some resources left, then you need to remove
them first to delete the module
</MessageStrip>
<List
headerText="AssociatedResources"
mode="None"
Expand Down

0 comments on commit be1ad87

Please sign in to comment.