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, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.26.12",
3
+ "version": "1.26.13",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^3.8.3",
6
6
  "leaflet": "^1.9.1",