@buerokratt-ria/common-gui-components 0.0.26 → 0.0.27
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/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## Template [MajorVersion.MediterraneanVersion.MinorVersion] - DD-MM-YYYY
|
|
6
6
|
|
|
7
|
+
## [0.0.27] - 02-10-2025
|
|
8
|
+
|
|
9
|
+
- Adding missing showTest with default to true if undefined.
|
|
10
|
+
|
|
7
11
|
## [0.0.26] - 15-09-2025
|
|
8
12
|
|
|
9
13
|
- Added download button do download chat history with currently selected criteriasa
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -121,6 +121,8 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({
|
|
|
121
121
|
const currentDomains = useStore.getState().userDomains;
|
|
122
122
|
const multiDomainEnabled = import.meta.env.REACT_APP_ENABLE_MULTI_DOMAIN?.toLowerCase() === 'true';
|
|
123
123
|
const testMessageEnabled = import.meta.env.REACT_APP_SHOW_TEST_MESSAGE?.toLowerCase() === 'true';
|
|
124
|
+
const envVal = import.meta.env.REACT_APP_SHOW_TEST_CONVERSATIONS;
|
|
125
|
+
const showTest = envVal === undefined ? true : envVal.toLowerCase() === 'true';
|
|
124
126
|
const [loading, setLoading] = useState(false);
|
|
125
127
|
|
|
126
128
|
const parseDateParam = (dateString: string | null) => {
|
|
@@ -301,6 +303,7 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({
|
|
|
301
303
|
startDate: formatISO(startOfDay(new Date(data.startDate))),
|
|
302
304
|
endDate: formatISO(endOfDay(new Date(data.endDate))),
|
|
303
305
|
urls: getDomainsArray(currentDomains),
|
|
306
|
+
showTest: showTest,
|
|
304
307
|
page: data.pagination.pageIndex + 1,
|
|
305
308
|
page_size: data.pagination.pageSize,
|
|
306
309
|
sorting: sortBy,
|
|
Binary file
|