ublo-lib 1.26.12 → 1.26.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40,6 +40,7 @@ export default function Lumiplan() {
|
|
|
40
40
|
const [currentResortId, setCurrentResortId] = React.useState(lumiplanResorts[0].id);
|
|
41
41
|
const currentResort = lumiplanResorts.find(resort => resort.id === currentResortId);
|
|
42
42
|
const showOpening = Boolean(currentResort.showOpening);
|
|
43
|
+
const disablePrint = Boolean(currentResort.disablePrint);
|
|
43
44
|
const [resortOpening, setResortOpening] = React.useState();
|
|
44
45
|
const [weather, setWeather] = React.useState();
|
|
45
46
|
const [resortAccess, setResortAccess] = React.useState();
|
|
@@ -159,7 +160,7 @@ export default function Lumiplan() {
|
|
|
159
160
|
resorts: lumiplanResorts,
|
|
160
161
|
currentResortId: currentResortId,
|
|
161
162
|
setCurrentResortId: setCurrentResortId
|
|
162
|
-
}), _jsx(Toolbar, {
|
|
163
|
+
}), !disablePrint && _jsx(Toolbar, {
|
|
163
164
|
setMode: setMode,
|
|
164
165
|
fetchAllData: fetchAllData
|
|
165
166
|
}), _jsx(TodaysTips, {
|