awing-library 2.1.181-dev → 2.1.182-dev
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.
|
@@ -114,7 +114,7 @@ var PageManagement = function (props) {
|
|
|
114
114
|
_a[searchType] = newValue,
|
|
115
115
|
_a));
|
|
116
116
|
} }, (advancedSearchFields &&
|
|
117
|
-
advancedSearchFields.length && {
|
|
117
|
+
advancedSearchFields.length > 0 && {
|
|
118
118
|
onClickAdvancedSearch: function () {
|
|
119
119
|
return setOpenAdvancedSearch(!openAdvancedSearch);
|
|
120
120
|
},
|
|
@@ -122,7 +122,7 @@ var PageManagement = function (props) {
|
|
|
122
122
|
marginLeft: function (theme) { return theme.spacing(2); },
|
|
123
123
|
}, onClick: onCreateButtonClick, children: t('Common.Create') })), onCreateFolderButtonClick && ((0, jsx_runtime_1.jsx)(material_1.Button, { variant: "outlined", color: "inherit", title: t('DirectoryManagement.CreateDirectory'), sx: {
|
|
124
124
|
marginLeft: function (theme) { return theme.spacing(1); },
|
|
125
|
-
}, onClick: onCreateFolderButtonClick, children: (0, jsx_runtime_1.jsx)(icons_material_1.CreateNewFolderOutlined, {}) })), customActions && customActions] }), children: [(advancedSearchFields === null || advancedSearchFields === void 0 ? void 0 : advancedSearchFields.length) && ((0, jsx_runtime_1.jsx)(AdvancedSearch_1.default, { fields: advancedSearchFields, value: queryInput.advancedObject, expanded: openAdvancedSearch, onChangeValue: function (obj) {
|
|
125
|
+
}, onClick: onCreateFolderButtonClick, children: (0, jsx_runtime_1.jsx)(icons_material_1.CreateNewFolderOutlined, {}) })), customActions && customActions] }), children: [!!(advancedSearchFields === null || advancedSearchFields === void 0 ? void 0 : advancedSearchFields.length) && ((0, jsx_runtime_1.jsx)(AdvancedSearch_1.default, { fields: advancedSearchFields, value: queryInput.advancedObject, expanded: openAdvancedSearch, onChangeValue: function (obj) {
|
|
126
126
|
return updateQueryInput({ advancedObject: obj });
|
|
127
127
|
}, onClear: function () {
|
|
128
128
|
return updateQueryInput({ advancedObject: undefined });
|