akeyless-client-commons 1.0.18 → 1.0.20

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.
@@ -4247,7 +4247,7 @@ function SearchSelect(param) {
4247
4247
  selectPlaceholder
4248
4248
  ]);
4249
4249
  console.log("searchQuery", searchQuery);
4250
- console.log("filteredOptions", filteredOptions.length);
4250
+ console.log("display crate :", filteredOptions.length === 0 && searchQuery);
4251
4251
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", {
4252
4252
  style: {
4253
4253
  direction: direction
@@ -4300,7 +4300,7 @@ function SearchSelect(param) {
4300
4300
  }
4301
4301
  }),
4302
4302
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CommandList, {
4303
- children: filteredOptions.length === 0 && searchQuery ? createNewOptionLabel ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CommandItem, {
4303
+ children: filteredOptions.length === 0 ? createNewOptionLabel && searchQuery ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CommandItem, {
4304
4304
  onSelect: function() {
4305
4305
  var newOption = {
4306
4306
  value: searchQuery,
@@ -4052,7 +4052,7 @@ function SearchSelect(param) {
4052
4052
  selectPlaceholder
4053
4053
  ]);
4054
4054
  console.log("searchQuery", searchQuery);
4055
- console.log("filteredOptions", filteredOptions.length);
4055
+ console.log("display crate :", filteredOptions.length === 0 && searchQuery);
4056
4056
  return /* @__PURE__ */ jsxs10("div", {
4057
4057
  style: {
4058
4058
  direction: direction
@@ -4105,7 +4105,7 @@ function SearchSelect(param) {
4105
4105
  }
4106
4106
  }),
4107
4107
  /* @__PURE__ */ jsx15(CommandList, {
4108
- children: filteredOptions.length === 0 && searchQuery ? createNewOptionLabel ? /* @__PURE__ */ jsx15(CommandItem, {
4108
+ children: filteredOptions.length === 0 ? createNewOptionLabel && searchQuery ? /* @__PURE__ */ jsx15(CommandItem, {
4109
4109
  onSelect: function() {
4110
4110
  var newOption = {
4111
4111
  value: searchQuery,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akeyless-client-commons",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "scripts": {
5
5
  "build": "tsup",
6
6
  "deploy": "npm run build && npm version patch --no-git-tag-version && npm publish",