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 icons for weekly agenda and add an icon final condition #173

Merged
merged 3 commits into from Jul 3, 2019

Conversation

DuCorey
Copy link
Contributor

@DuCorey DuCorey commented Jul 2, 2019

This PR is a fix for #146.

I simply check for either the daily agenda or the weekly agenda string.

I've also taken the liberty of adding a final condition that will always return an empty string so that the heading creation cannot fail when it can't find an icon. This could be useful for people who want to make a custom heading and still some of the icons.

@DuCorey
Copy link
Contributor Author

DuCorey commented Jul 2, 2019

My bad for the linting. I forgot to run the tests on my machine first.

@JesusMtnez
Copy link
Contributor

Thank you @DuCorey !

@JesusMtnez JesusMtnez merged commit 1144612 into emacs-dashboard:master Jul 3, 2019
@JesusMtnez JesusMtnez mentioned this pull request Jul 3, 2019
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.

None yet

2 participants