@social-mail/social-mail-client 1.2.346 → 1.2.348

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": "@social-mail/social-mail-client",
3
- "version": "1.2.346",
3
+ "version": "1.2.348",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -64,6 +64,7 @@ const css = styled.css `
64
64
  flex-direction: column;
65
65
  overflow: auto;
66
66
  max-height: 500px;
67
+ max-width: 200px;
67
68
  & > img {
68
69
  cursor: pointer;
69
70
  margin: 5px;
@@ -172,8 +172,9 @@ export default class StoreItemListView extends AtomControl {
172
172
  if (search) {
173
173
  search = search.trim().toLocaleLowerCase() + "%";
174
174
  q = q.where({ search }, (p) => (x) =>
175
- Sql.text.like(x.tag.lowerCaseName, p.search)
176
- || Sql.text.like(x.tag.parent.lowerCaseName, p.search)
175
+ (Sql.text.like(x.tag.lowerCaseName, p.search)
176
+ || Sql.text.like(x.tag.parent.lowerCaseName, p.search))
177
+ && x.count > 0
177
178
  );
178
179
  }
179
180
  const tags = await q