diff --git a/gsa/src/web/pages/audits/__tests__/__snapshots__/listpage.js.snap b/gsa/src/web/pages/audits/__tests__/__snapshots__/listpage.js.snap
index a83587ee23..7ecf13499b 100644
--- a/gsa/src/web/pages/audits/__tests__/__snapshots__/listpage.js.snap
+++ b/gsa/src/web/pages/audits/__tests__/__snapshots__/listpage.js.snap
@@ -95,245 +95,7 @@ exports[`AuditPage ToolBarIcons test should render 1`] = `
`;
exports[`AuditPage tests should render full AuditPage 1`] = `
-.c0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: stretch;
- -webkit-box-align: stretch;
- -ms-flex-align: stretch;
- align-items: stretch;
-}
-
.c1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- -ms-flex-pack: justify;
- justify-content: space-between;
- -webkit-align-items: flex-start;
- -webkit-box-align: flex-start;
- -ms-flex-align: flex-start;
- align-items: flex-start;
-}
-
-.c6 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-box-pack: end;
- -webkit-justify-content: flex-end;
- -ms-flex-pack: end;
- justify-content: flex-end;
-}
-
-.c7 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: stetch;
- -webkit-box-align: stetch;
- -ms-flex-align: stetch;
- align-items: stetch;
-}
-
-.c8 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- -ms-flex-pack: justify;
- justify-content: space-between;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.c11 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.c18 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.c3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: start;
- -ms-flex-pack: start;
- justify-content: start;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- margin-left: -5px;
-}
-
-.c3 > * {
- display: -webkit-inline-box;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
-}
-
-.c3 > * {
- margin-left: 5px;
-}
-
-.c10 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- margin-left: -5px;
-}
-
-.c10 > * {
- display: -webkit-inline-box;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
-}
-
-.c10 > * {
- margin-left: 5px;
-}
-
-.c2 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: start;
- -ms-flex-pack: start;
- justify-content: start;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- display: -webkit-inline-box;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
-}
-
-.c5 {
- cursor: pointer;
-}
-
-.c4 {
- height: 16px;
- width: 16px;
- line-height: 16px;
-}
-
-.c4 * {
- height: inherit;
- width: inherit;
-}
-
-.c25 {
- height: 50px;
- width: 50px;
- line-height: 50px;
-}
-
-.c25 * {
- height: inherit;
- width: inherit;
-}
-
-.c28 {
width: 80px;
height: 80px;
margin: 40px auto;
@@ -345,7 +107,7 @@ exports[`AuditPage tests should render full AuditPage 1`] = `
animation: fSFzYT 2s infinite ease-in-out;
}
-.c27 {
+.c0 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -364,231 +126,6 @@ exports[`AuditPage tests should render full AuditPage 1`] = `
width: 100%;
}
-.c21 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- -ms-flex-pack: justify;
- justify-content: space-between;
- -webkit-align-items: flex-end;
- -webkit-box-align: flex-end;
- -ms-flex-align: flex-end;
- align-items: flex-end;
- margin: 10px 0px;
- padding-bottom: 1px;
- border-bottom: 2px solid #c8d3d9;
- position: relative;
-}
-
-.c23 {
- margin: 0 0 1px 0;
-}
-
-.c22 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: stretch;
- -webkit-box-align: stretch;
- -ms-flex-align: stretch;
- align-items: stretch;
-}
-
-.c24 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: flex-end;
- -webkit-box-align: flex-end;
- -ms-flex-align: flex-end;
- align-items: flex-end;
- margin-right: 5px;
-}
-
-.c26 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: flex-end;
- -webkit-box-align: flex-end;
- -ms-flex-align: flex-end;
- align-items: flex-end;
- word-break: break-all;
- min-width: 100px;
-}
-
-.c20 {
- background-color: transparent;
- border: none;
- cursor: pointer;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- outline: none;
- margin: 1px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- cursor: pointer;
-}
-
-.c19 {
- height: 16px;
- width: 16px;
- line-height: 16px;
-}
-
-.c19 * {
- height: inherit;
- width: inherit;
-}
-
-.c16 {
- border: 1px solid #aaaaaa;
- border-radius: 2px;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: stretch;
- -webkit-box-align: stretch;
- -ms-flex-align: stretch;
- align-items: stretch;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- padding: 1px 5px;
- background-color: #fff;
- color: #000;
- font-weight: normal;
-}
-
-.c15 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- position: relative;
- width: 150px;
-}
-
-.c17 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- word-break: keep-all;
- white-space: nowrap;
- overflow: hidden;
- cursor: pointer;
- cursor: default;
-}
-
-.c14 {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit;
- display: block;
- height: 22px;
- color: #393637;
- background-color: #fff;
- background-image: none;
- border: 1px solid #aaaaaa;
- border-radius: 2px;
- padding: 1px 8px;
-}
-
-.c14:-webkit-autofill {
- box-shadow: 0 0 0 1000px white inset;
-}
-
-.c13 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: start;
- -ms-flex-pack: start;
- justify-content: start;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.c12 {
- margin-right: 5px;
-}
-
-.c9 {
- margin-right: 5px;
-}
-
-@media print {
- .c5 {
- display: none;
- }
-}
-
`;
diff --git a/gsa/src/web/pages/audits/__tests__/listpage.js b/gsa/src/web/pages/audits/__tests__/listpage.js
index 681a5e86f7..b78a070f10 100644
--- a/gsa/src/web/pages/audits/__tests__/listpage.js
+++ b/gsa/src/web/pages/audits/__tests__/listpage.js
@@ -54,6 +54,12 @@ const currentSettings = jest.fn().mockReturnValue(
}),
);
+const getSetting = jest.fn().mockReturnValue(
+ Promise.resolve({
+ set: 'ting',
+ }),
+);
+
const getFilters = jest.fn().mockReturnValue(
Promise.resolve({
data: [],
@@ -98,7 +104,7 @@ describe('AuditPage tests', () => {
},
reloadInterval,
settings: {manualUrl},
- user: {currentSettings},
+ user: {currentSettings, getSetting},
};
const {render, store} = rendererWith({
diff --git a/gsa/src/web/pages/policies/__tests__/__snapshots__/listpage.js.snap b/gsa/src/web/pages/policies/__tests__/__snapshots__/listpage.js.snap
index 3cf96ba601..d6fa6a5451 100644
--- a/gsa/src/web/pages/policies/__tests__/__snapshots__/listpage.js.snap
+++ b/gsa/src/web/pages/policies/__tests__/__snapshots__/listpage.js.snap
@@ -104,245 +104,7 @@ exports[`PoliciesPage ToolBarIcons test should render 1`] = `
`;
exports[`PoliciesPage tests should render full PoliciesPage 1`] = `
-.c0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: stretch;
- -webkit-box-align: stretch;
- -ms-flex-align: stretch;
- align-items: stretch;
-}
-
.c1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- -ms-flex-pack: justify;
- justify-content: space-between;
- -webkit-align-items: flex-start;
- -webkit-box-align: flex-start;
- -ms-flex-align: flex-start;
- align-items: flex-start;
-}
-
-.c6 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-box-pack: end;
- -webkit-justify-content: flex-end;
- -ms-flex-pack: end;
- justify-content: flex-end;
-}
-
-.c7 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: stetch;
- -webkit-box-align: stetch;
- -ms-flex-align: stetch;
- align-items: stetch;
-}
-
-.c8 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- -ms-flex-pack: justify;
- justify-content: space-between;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.c11 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.c18 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.c3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: start;
- -ms-flex-pack: start;
- justify-content: start;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- margin-left: -5px;
-}
-
-.c3 > * {
- display: -webkit-inline-box;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
-}
-
-.c3 > * {
- margin-left: 5px;
-}
-
-.c10 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- margin-left: -5px;
-}
-
-.c10 > * {
- display: -webkit-inline-box;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
-}
-
-.c10 > * {
- margin-left: 5px;
-}
-
-.c2 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: start;
- -ms-flex-pack: start;
- justify-content: start;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- display: -webkit-inline-box;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
-}
-
-.c5 {
- cursor: pointer;
-}
-
-.c4 {
- height: 16px;
- width: 16px;
- line-height: 16px;
-}
-
-.c4 * {
- height: inherit;
- width: inherit;
-}
-
-.c25 {
- height: 50px;
- width: 50px;
- line-height: 50px;
-}
-
-.c25 * {
- height: inherit;
- width: inherit;
-}
-
-.c28 {
width: 80px;
height: 80px;
margin: 40px auto;
@@ -354,7 +116,7 @@ exports[`PoliciesPage tests should render full PoliciesPage 1`] = `
animation: fSFzYT 2s infinite ease-in-out;
}
-.c27 {
+.c0 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -373,231 +135,6 @@ exports[`PoliciesPage tests should render full PoliciesPage 1`] = `
width: 100%;
}
-.c21 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- -ms-flex-pack: justify;
- justify-content: space-between;
- -webkit-align-items: flex-end;
- -webkit-box-align: flex-end;
- -ms-flex-align: flex-end;
- align-items: flex-end;
- margin: 10px 0px;
- padding-bottom: 1px;
- border-bottom: 2px solid #c8d3d9;
- position: relative;
-}
-
-.c23 {
- margin: 0 0 1px 0;
-}
-
-.c22 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: stretch;
- -webkit-box-align: stretch;
- -ms-flex-align: stretch;
- align-items: stretch;
-}
-
-.c24 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: flex-end;
- -webkit-box-align: flex-end;
- -ms-flex-align: flex-end;
- align-items: flex-end;
- margin-right: 5px;
-}
-
-.c26 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: flex-end;
- -webkit-box-align: flex-end;
- -ms-flex-align: flex-end;
- align-items: flex-end;
- word-break: break-all;
- min-width: 100px;
-}
-
-.c20 {
- background-color: transparent;
- border: none;
- cursor: pointer;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- outline: none;
- margin: 1px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- cursor: pointer;
-}
-
-.c19 {
- height: 16px;
- width: 16px;
- line-height: 16px;
-}
-
-.c19 * {
- height: inherit;
- width: inherit;
-}
-
-.c16 {
- border: 1px solid #aaaaaa;
- border-radius: 2px;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: stretch;
- -webkit-box-align: stretch;
- -ms-flex-align: stretch;
- align-items: stretch;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- padding: 1px 5px;
- background-color: #fff;
- color: #000;
- font-weight: normal;
-}
-
-.c15 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- position: relative;
- width: 150px;
-}
-
-.c17 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- word-break: keep-all;
- white-space: nowrap;
- overflow: hidden;
- cursor: pointer;
- cursor: default;
-}
-
-.c14 {
- font-family: inherit;
- font-size: inherit;
- line-height: inherit;
- display: block;
- height: 22px;
- color: #393637;
- background-color: #fff;
- background-image: none;
- border: 1px solid #aaaaaa;
- border-radius: 2px;
- padding: 1px 8px;
-}
-
-.c14:-webkit-autofill {
- box-shadow: 0 0 0 1000px white inset;
-}
-
-.c13 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: start;
- -webkit-justify-content: start;
- -ms-flex-pack: start;
- justify-content: start;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.c12 {
- margin-right: 5px;
-}
-
-.c9 {
- margin-right: 5px;
-}
-
-@media print {
- .c5 {
- display: none;
- }
-}
-
{
},
reloadInterval,
settings: {manualUrl},
- user: {currentSettings},
+ user: {currentSettings, getSetting},
};
const {render, store} = rendererWith({
diff --git a/gsa/src/web/store/usersettings/defaultfilters/__tests__/actions.js b/gsa/src/web/store/usersettings/defaultfilters/__tests__/actions.js
index 7a3c5e7d2e..f9cb87870d 100644
--- a/gsa/src/web/store/usersettings/defaultfilters/__tests__/actions.js
+++ b/gsa/src/web/store/usersettings/defaultfilters/__tests__/actions.js
@@ -133,7 +133,7 @@ describe('loadUserSettingsDefaultFilter tests', () => {
);
expect(dispatch).toHaveBeenNthCalledWith(
2,
- defaultFilterLoadingActions.success(entityType),
+ defaultFilterLoadingActions.success(entityType, null),
);
expect(getSetting).toHaveBeenCalledWith(
DEFAULT_FILTER_SETTINGS[entityType],