eternagame / eterna-mobile

Eterna mobile app
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Hide chat icon on Account and Settings pages #78

Closed tkaragianes closed 2 years ago

tkaragianes commented 2 years ago

This is a quick fix to remove the chat icon on the Account and Settings pages. For some reason, Vue doesn't have a way to explicitly prevent default content being shown in a slot; you have to pass some element in to replace the default content, even if it's an empty div with no semantic meaning.

A better approach might be to change the NavBar component to only display the default slot content given a boolean prop, but the NavBar component has outstanding changes with the Quest implementation, and I wanted to avoid merge conflicts.