Skip to content
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

Fix ActivePage in viewPage function #47

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Fix ActivePage in viewPage function #47

wants to merge 6 commits into from

Conversation

jluckyiv
Copy link

Update the viewPage function's case statement to use the appropriate Page.ActivePage, i.e., Page.Settings, Page.Login, Page.Register instead of Page.Other so that the frame function sends the appropriate Page.ActivePage value to Page.viewHeader, Page.navbarLink, and Page.isActive.

The only changes are on lines 117, 127, and 132. elm-format reformatted the entire file with extra whitespace.

liubko and others added 5 commits December 13, 2017 23:42
Disable submit button, while making API request in 'create/edit article' form
Update the `viewPage` function's `case` statement to use the
appropriate page, i.e., `Page.Settings`, `Page.Login`,
`Page.Register` instead of `Page.Other` so that the `frame`
function sends the appropriate `ActivePage` value to
`Page.viewHeader`, `Page.navbarLink`, and `Page.isActive`.
@SidneyNemzer
Copy link

The only changes are on lines 117, 127, and 132. elm-format reformatted the entire file with extra whitespace.

That's because most of the code was formated with elm-format > 0.7.0, where the body of let expressions are no longer indented. Maybe you should reformat the code with the newer version of elm-format 🙂

@jluckyiv
Copy link
Author

Done. @SidneyNemzer thanks for the tip!

@rtfeldman rtfeldman force-pushed the master branch 8 times, most recently from 19cab04 to 7a0ff12 Compare August 27, 2018 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants