Skip to content

Commit 9a4066f

Browse files
committed
add not items found text
1 parent 17de8aa commit 9a4066f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/app/ideation/components/topic-ideation/topic-ideation.component.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,10 +833,13 @@
833833
</div>
834834
</div>
835835
</ng-container>
836-
<ng-container *ngIf="ideas.length">
836+
<ng-container *ngIf="ideas.length !== 0">
837837
<ideabox *ngFor="let idea of ideas" [topic]="topic" [ideation]="ideation" [idea]="idea">
838838
</ideabox>
839839
</ng-container>
840+
<ng-container *ngIf="ideas.length === 0">
841+
<div translate="COMPONENTS.TOPIC_IDEATION.NO_ITEMS_FOUND"></div>
842+
</ng-container>
840843
<div class="pagination_wrap">
841844
<cos-pagination (select)="TopicIdeaService.loadPage($event)" class="ideation"
842845
[totalPages]="(TopicIdeaService.totalPages$ | async) || 0"

src/assets/i18n/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,7 @@
817817
"OPTION_DELETE_FOLDER": "Delete folder",
818818
"BTN_CREATE_NEW_FOLDER": "Create new folder",
819819
"NO_FOLDERS_HEADING": "There are no idea folders yet",
820+
"NO_ITEMS_FOUND": "No results found with these filters. Try adjusting your filters and search again.",
820821
"NO_FOLDERS_DESC": "Topic admins can create folders to group ideas that fit in the same category."
821822
},
822823
"TOUR": {

0 commit comments

Comments
 (0)