_jemomi
09/06/2023, 7:40 AMSebastiaan
09/06/2023, 11:51 AMentityResource.getAll("Macro", ($scope.model.dialogData && $scope.model.dialogData.richTextEditor && $scope.model.dialogData.richTextEditor === true) ? "UseInEditor=true" : null)
So I'm guessing $scope.model.alias === "chain"
could work (not sure what is in $scope.model
though!)_jemomi
09/06/2023, 4:28 PM_jemomi
09/08/2023, 11:37 AMSebastiaan
09/08/2023, 12:02 PM$scope.model
but is rather sending in UseInEditor=true
and I don't really know how you would know what to send in there! So I'm guessing it's not made for the purpose you need. You could instead do a getAll
and then filter that one in a foreach. Not very performant but could work if you are working with a small amount of items. There might be better ways, but I'm not that familiar with the code!_jemomi
09/12/2023, 5:26 PM