Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1963267: Fix console warnings about classnames when rendering volumes table #9007

Merged
merged 1 commit into from May 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions frontend/public/components/volumes-table.tsx
Expand Up @@ -115,26 +115,26 @@ const VolumesTableRows = ({ componentProps: { data } }) => {
{
title: mountPath,
props: {
classname: volumeRowColumnClasses[1],
className: volumeRowColumnClasses[1],
'data-test-mount-path-for': name,
},
},
{
title: subPath || <span className="text-muted">{i18next.t('public~No subpath')}</span>,
props: {
classname: volumeRowColumnClasses[2],
className: volumeRowColumnClasses[2],
},
},
{
title: <VolumeType volume={volumeDetail} namespace={resource.metadata.namespace} />,
props: {
classname: volumeRowColumnClasses[3],
className: volumeRowColumnClasses[3],
},
},
{
title: readOnly ? i18next.t('public~Read-only') : i18next.t('public~Read/Write'),
props: {
classname: volumeRowColumnClasses[4],
className: volumeRowColumnClasses[4],
},
},
{
Expand All @@ -145,7 +145,7 @@ const VolumesTableRows = ({ componentProps: { data } }) => {
container
),
props: {
classname: volumeRowColumnClasses[5],
className: volumeRowColumnClasses[5],
},
},
{
Expand All @@ -158,7 +158,7 @@ const VolumesTableRows = ({ componentProps: { data } }) => {
/>
),
props: {
classname: volumeRowColumnClasses[6],
className: volumeRowColumnClasses[6],
},
},
];
Expand Down