aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-profiles/home
diff options
context:
space:
mode:
authorguillaume-peoch-sonarsource <guillaume.peoch@sonarsource.com>2023-01-16 12:20:18 +0100
committersonartech <sonartech@sonarsource.com>2023-01-17 20:02:59 +0000
commit652cacef6f63d5b7b6d70ee6b05552286ba59196 (patch)
treede687600dfe10f06949d639fda225dd32f6fe475 /server/sonar-web/src/main/js/apps/quality-profiles/home
parent9cf582199aaaec7c2aeaaddff6a2b2343c137555 (diff)
downloadsonarqube-652cacef6f63d5b7b6d70ee6b05552286ba59196.tar.gz
sonarqube-652cacef6f63d5b7b6d70ee6b05552286ba59196.zip
SONAR-18151 [1099147] Incorrect semantic markup
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-profiles/home')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesListHeader.tsx4
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/ProfilesListHeader-test.tsx.snap4
2 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesListHeader.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesListHeader.tsx
index 5f1abf2b1cc..ab67a194c9e 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesListHeader.tsx
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesListHeader.tsx
@@ -49,7 +49,7 @@ export class ProfilesListHeader extends React.PureComponent<Props> {
}));
return (
- <header className="quality-profiles-list-header clearfix">
+ <div className="quality-profiles-list-header clearfix">
<label htmlFor="quality-profiles-filter-input" className="spacer-right">
{translate('quality_profiles.filter_by')}:
</label>
@@ -64,7 +64,7 @@ export class ProfilesListHeader extends React.PureComponent<Props> {
isSearchable={true}
value={options.filter((o) => o.value === currentFilter)}
/>
- </header>
+ </div>
);
}
}
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/ProfilesListHeader-test.tsx.snap b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/ProfilesListHeader-test.tsx.snap
index 7b85f20efbf..82c185c43a3 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/ProfilesListHeader-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/ProfilesListHeader-test.tsx.snap
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should render correctly 1`] = `
-<header
+<div
className="quality-profiles-list-header clearfix"
>
<label
@@ -33,5 +33,5 @@ exports[`should render correctly 1`] = `
}
value={[]}
/>
-</header>
+</div>
`;