Skip to content

Commit ca7d22f

Browse files
committed
fix: visibility of services that are down, offline or oos
1 parent ae618a9 commit ca7d22f

File tree

10 files changed

+2518
-2621
lines changed

10 files changed

+2518
-2621
lines changed

spring-boot-admin-server-ui/.storybook/preview.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import "../src/main/frontend/index.css";
22
import "./storybook.css";
33

4-
import { app } from '@storybook/vue3';
4+
import {app} from '@storybook/vue3';
55
import i18n from "../src/main/frontend/i18n/index.js";
6-
import mappingsEndpoint from '@/mocks/instance/mappings';
6+
import mappingsEndpoint from '../src/main/frontend/mocks/instance/mappings';
7+
import applicationsEndpoint from "../src/main/frontend/mocks/applications";
78

8-
import { initialize, mswDecorator } from 'msw-storybook-addon';
9+
import {initialize, mswDecorator} from 'msw-storybook-addon';
910
import components from "../src/main/frontend/components/index.js";
1011

1112
initialize();
@@ -24,11 +25,12 @@ export const parameters = {
2425
msw: {
2526
handlers: {
2627
auth: null,
27-
others: [...mappingsEndpoint]
28+
others: [...mappingsEndpoint, ...applicationsEndpoint]
2829
}
2930
}
3031
}
3132

3233
export const decorators = [
3334
mswDecorator,
3435
]
36+

spring-boot-admin-server-ui/.storybook/storybook.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
1817
:root {
1918
--main-50: 238, 252, 250;
2019
--main-100: 217, 247, 244;

0 commit comments

Comments
 (0)