willba-component-library 0.1.24 → 0.1.25

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "willba-component-library",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "A stroybook 6 with TypeScript demo",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",
@@ -111,13 +111,18 @@ export default function FilterBar({
111
111
  style={fontWeightBold(selectedFilter === 1)}
112
112
  />
113
113
 
114
- <Divider />
115
- <SelectButton
116
- label={'Who'}
117
- description={'Add Guests'}
118
- onClick={() => handleSelectedFilter(2)}
119
- style={fontWeightBold(selectedFilter === 2)}
120
- />
114
+ {selectedPath === '/rooms' && (
115
+ <>
116
+ <Divider />
117
+
118
+ <SelectButton
119
+ label={'Who'}
120
+ description={'Add Guests'}
121
+ onClick={() => handleSelectedFilter(2)}
122
+ style={fontWeightBold(selectedFilter === 2)}
123
+ />
124
+ </>
125
+ )}
121
126
 
122
127
  <SubmitButton onClick={handleSubmit} />
123
128
  </div>