SearchKit - Fix angular console error when totalCount is not given
authorColeman Watts <coleman@civicrm.org>
Fri, 10 Jun 2022 16:37:56 +0000 (12:37 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 11 Jun 2022 13:54:14 +0000 (09:54 -0400)
commit2f223f38eaafb72a1b8ed5fe8bdb38fd82ceca16
treee7d0b2259bf024ad2880327efd26dc7f4354d19b
parent1298898bad6c4268a41c5bf0db3e1857fbc86a10
SearchKit - Fix angular console error when totalCount is not given

Before: Error: [$compile:nonassign] Expression 'undefined' in attribute 'totalCount' used with directive 'crmSearchDisplayTable' is non-assignable!

After: Fixed, and totalCount still functions correctly for its indended purpose with SearchSegments.
ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.component.js