Skip to content

Commit 72ec2b0

Browse files
committed
remove unused jsnonatan functions
1 parent afd2d19 commit 72ec2b0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/components/Extensibility/helpers/jsonataWrapper.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,6 @@ export function jsonataWrapper(expression: string) {
6565
},
6666
);
6767

68-
exp.registerFunction('getModuleState', resource => {
69-
const { data: status } = useModuleStatus(resource?.resource);
70-
return status?.state || 'Unknown';
71-
});
72-
73-
exp.registerFunction('getModuleDescription', resource => {
74-
const { data: status } = useModuleStatus(resource?.resource);
75-
return status?.description;
76-
});
77-
7868
exp.registerFunction('compareStrings', (first, second) => {
7969
return first?.localeCompare(second) ?? 1;
8070
});

0 commit comments

Comments
 (0)