Add propagation for service name to service icon

This commit is contained in:
Manuel Ruwe
2022-12-11 19:32:51 +01:00
parent ed64d138c5
commit 05e47b5664
7 changed files with 97 additions and 74 deletions

View File

@@ -8,11 +8,12 @@ interface TileMenuProps {
export const ServiceMenu = ({ service }: TileMenuProps) => {
const handleClickEdit = () => {
openContextModalGeneric<{ service: ServiceType }>({
openContextModalGeneric<{ service: ServiceType; allowServiceNamePropagation: boolean }>({
modal: 'editService',
size: 'xl',
innerProps: {
service,
allowServiceNamePropagation: false,
},
});
};