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: hide TemperaturePanel if no sensors would be shown #982

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

ssendev
Copy link
Contributor

@ssendev ssendev commented Jul 21, 2022

If all Temperature sensors start with _ an empty TemperaturePanel was shown.

Signed-off-by: Manuel Thomassen [email protected]

@meteyou
Copy link
Member

meteyou commented Jul 21, 2022

Thx for the PR. Only one small addition. Pls also rename the function or add another getter if the same getter is used somewhere.

@ssendev
Copy link
Contributor Author

ssendev commented Jul 21, 2022

I changed the function name.

@dw-0
Copy link
Member

dw-0 commented Aug 1, 2022

Hi, sorry for the delay,

there is one spot in the code which also uses printerAvailableSensorsCount and wasn't replaced with the new variable name.
It is located here: https://github.com/ssendev/mainsail/blob/develop/src/pages/Dashboard.vue#L136

@ssendev
Copy link
Contributor Author

ssendev commented Aug 1, 2022

@th33xitus Strange I could have sworn I replaced all occurrences. Either way now it's done.

@dw-0
Copy link
Member

dw-0 commented Aug 4, 2022

LGTM!

@meteyou meteyou merged commit 8af3f92 into mainsail-crew:develop Aug 5, 2022
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