Skip to content

Commit b9d42fe

Browse files
#RI-5829 - fix rdi issues
1 parent 1854c70 commit b9d42fe

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

redisinsight/api/src/modules/rdi/client/api.rdi.client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export class ApiRdiClient extends RdiClient {
197197
const { status, data, error } = response.data;
198198

199199
if (status === 'failed') {
200-
throw new RdiPipelineInternalServerErrorException(error);
200+
throw new RdiPipelineInternalServerErrorException(error?.message);
201201
}
202202

203203
if (status === 'completed') {

redisinsight/ui/src/pages/rdi/statistics/StatisticsPage.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ describe('StatisticsPage', () => {
128128
it('renders the empty state when pipeline data is empty', () => {
129129
(rdiPipelineStatusSelector as jest.Mock).mockReturnValueOnce({
130130
data: {
131-
components: { processor: 'ready' },
131+
components: { processor: 'not-ready' },
132132
pipelines: {
133133
default: {
134134
status: 'not ready',

redisinsight/ui/src/pages/rdi/statistics/StatisticsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const isPipelineDeployed = (data: Nullable<IPipelineStatus>) => {
2626
return false
2727
}
2828

29-
return get(data, 'pipelines.default.status') === PipelineStatus.Ready
29+
return get(data, 'pipelines.default.status') !== PipelineStatus.NotReady
3030
}
3131

3232
const StatisticsPage = () => {

redisinsight/ui/src/styles/components/_table.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@ body {
5252
&:hover {
5353
background-color: var(--tableRowHoverColor);
5454
}
55+
56+
.copyHostPortText,
57+
.copyUrlText,
58+
.copyPublicEndpointText,
59+
.column_name,
60+
.column_name .euiToolTipAnchor {
61+
display: inline-block;
62+
text-overflow: ellipsis;
63+
white-space: nowrap;
64+
overflow: hidden;
65+
max-width: 100%;
66+
vertical-align: top;
67+
}
5568
}
5669
}
5770

0 commit comments

Comments
 (0)