@overmap-ai/core 1.0.51-bulk-form-submission.4 → 1.0.51-hover-cards.0
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.
|
@@ -1563,6 +1563,9 @@ var __publicField = (obj, key, value) => {
|
|
|
1563
1563
|
hiddenCategoryCount++;
|
|
1564
1564
|
return hiddenCategoryCount;
|
|
1565
1565
|
};
|
|
1566
|
+
const selectIssueCountOfCategory = (categoryId) => (state) => {
|
|
1567
|
+
return Object.values(state.issueReducer.issues).filter((issue) => issue.category === categoryId).length;
|
|
1568
|
+
};
|
|
1566
1569
|
const categoryReducer = categorySlice.reducer;
|
|
1567
1570
|
function setAttachments(state, action) {
|
|
1568
1571
|
state.attachments = {};
|
|
@@ -16261,6 +16264,7 @@ var __publicField = (obj, key, value) => {
|
|
|
16261
16264
|
exports2.selectIssueAttachment = selectIssueAttachment;
|
|
16262
16265
|
exports2.selectIssueAttachmentMapping = selectIssueAttachmentMapping;
|
|
16263
16266
|
exports2.selectIssueAttachments = selectIssueAttachments;
|
|
16267
|
+
exports2.selectIssueCountOfCategory = selectIssueCountOfCategory;
|
|
16264
16268
|
exports2.selectIssueMapping = selectIssueMapping;
|
|
16265
16269
|
exports2.selectIssueUpdateMapping = selectIssueUpdateMapping;
|
|
16266
16270
|
exports2.selectIssueUpdatesOfIssue = selectIssueUpdatesOfIssue;
|