We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
VolumesAndMountsPage
1 parent ce62fc7 commit 4bf0edcCopy full SHA for 4bf0edc
1 file changed
frontend/pages/VolumesAndMountsPage.tsx
@@ -273,6 +273,10 @@ export default class VolumesAndMountsPage extends React.Component<
273
private renderServiceView() {
274
const [volumes, loadingOrError] = this.state.volumes.unwrap();
275
276
+ const volumesWithoutCloud = (volumes || []).filter(
277
+ (v) => v.Technology !== VolumeTechnology.Cloud,
278
+ );
279
+
280
return (
281
<table className={tableClassStripedHover}>
282
<thead>
@@ -285,7 +289,7 @@ export default class VolumesAndMountsPage extends React.Component<
285
289
</tr>
286
290
</thead>
287
291
<tbody>
288
- {(volumes || []).map((vol) => {
292
+ {volumesWithoutCloud.map((vol) => {
293
const manufactured = vol.Manufactured;
294
const warrantyEnds = vol.WarrantyEnds;
295
0 commit comments