-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #23201: Rewrite angular app tags.js in Elm #4942
Fixes #23201: Rewrite angular app tags.js in Elm #4942
Conversation
Commit modified |
9655f50
to
4c53402
Compare
init : { contextPath : String, hasWriteRights : Bool, tags : List Tag, filterId : String, isEditForm : Bool, isRule : Bool, objectId : String } -> ( Model, Cmd Msg ) | ||
init flags = | ||
let | ||
objectType = if flags.isRule then "rule" else "directive" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather have init
take an objectType string directly instead of a boolean if it's not too much work
@RaphaelGauthier missing spotless pass |
PR updated with a new commit |
This PR is not mergeable to upper versions. |
OK, squash merging this PR |
0930da4
to
da30544
Compare
da30544
into
Normation:branches/rudder/8.0
https://issues.rudder.io/issues/23201