From 99dd68e75dfadb7e2e4c17067ef095b368b3f686 Mon Sep 17 00:00:00 2001 From: AntonBrodin Date: Wed, 15 Sep 2021 14:55:49 +0200 Subject: [PATCH] Bugfix: Search crashes webpart when its empty When you type something in the search bar, search and get your result then erase and press enter it will crash the webpart. --- .../components/PeopleDirectory/PeopleDirectory.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solution/src/webparts/peopleDirectory/components/PeopleDirectory/PeopleDirectory.tsx b/solution/src/webparts/peopleDirectory/components/PeopleDirectory/PeopleDirectory.tsx index ee0af7c8..1fd49b11 100644 --- a/solution/src/webparts/peopleDirectory/components/PeopleDirectory/PeopleDirectory.tsx +++ b/solution/src/webparts/peopleDirectory/components/PeopleDirectory/PeopleDirectory.tsx @@ -95,7 +95,7 @@ export class PeopleDirectory extends React.Component