ublo-lib 1.26.12 → 1.26.14
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();
|
|
@@ -155,13 +156,13 @@ export default function Lumiplan() {
|
|
|
155
156
|
children: [_jsx(Header, {
|
|
156
157
|
date: timestamp,
|
|
157
158
|
mode: mode
|
|
159
|
+
}), !disablePrint && _jsx(Toolbar, {
|
|
160
|
+
setMode: setMode,
|
|
161
|
+
fetchAllData: fetchAllData
|
|
158
162
|
}), _jsx(ResortSelector, {
|
|
159
163
|
resorts: lumiplanResorts,
|
|
160
164
|
currentResortId: currentResortId,
|
|
161
165
|
setCurrentResortId: setCurrentResortId
|
|
162
|
-
}), _jsx(Toolbar, {
|
|
163
|
-
setMode: setMode,
|
|
164
|
-
fetchAllData: fetchAllData
|
|
165
166
|
}), _jsx(TodaysTips, {
|
|
166
167
|
ref: todaysTipsRef,
|
|
167
168
|
resortOpening: resortOpening
|