Merge pull request #993 from openreplay/fix-card

fix(ui) - table card - metricOf value
This commit is contained in:
Shekar Siri 2023-02-28 12:46:36 +01:00 committed by GitHub
commit 42348979e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,6 +130,10 @@ export default class MetricStore {
obj['metricValue'] = [];
if (value === TABLE) {
obj['metricOf'] = 'userId';
}
if (value === TABLE || value === TIMESERIES) {
obj['viewType'] = 'table';
}