On the park map, if the ride wait time is zero minute, the wait time badge doesn't have a background color. Thus, the text is then white on light gray, which is hard to read.
It looks like it comes from the src/components/ParkMap.vue file, lines 92 and following:
getVariantFromWait: (wait) => {
if (wait > 100) return 'bg-danger'
if (wait > 90) return 'bg-warning'
if (wait > 60) return 'bg-info'
if (wait > 0) return 'bg-success'
}
Should be:
getVariantFromWait: (wait) => {
if (wait > 100) return 'bg-danger'
if (wait > 90) return 'bg-warning'
if (wait > 60) return 'bg-info'
return 'bg-success'
}
Link to workshop URL
To Reproduce
Expected behavior
All possible wait times should have a background color.
Screenshots
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug
On the park map, if the ride wait time is zero minute, the wait time badge doesn't have a background color. Thus, the text is then white on light gray, which is hard to read.
It looks like it comes from the src/components/ParkMap.vue file, lines 92 and following:
Should be:
Link to workshop URL
To Reproduce
Expected behavior
All possible wait times should have a background color.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.