mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
fix(ui): fix storybook stories
This commit is contained in:
committed by
Łukasz Mierzwa
parent
8febb0241c
commit
369a855f50
@@ -6,7 +6,7 @@ import fetchMock from "fetch-mock";
|
||||
|
||||
import { AlertStore } from "Stores/AlertStore";
|
||||
import { Settings } from "Stores/Settings";
|
||||
import { MainModalContent, TabNames } from "./MainModalContent";
|
||||
import { MainModalContent } from "./MainModalContent";
|
||||
|
||||
import "Styles/Percy.scss";
|
||||
|
||||
@@ -55,7 +55,7 @@ storiesOf("MainModal", module)
|
||||
settingsStore={settingsStore}
|
||||
onHide={() => {}}
|
||||
isVisible={true}
|
||||
openTab={TabNames.Help}
|
||||
openTab={"help"}
|
||||
expandAllOptions={true}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -12,7 +12,7 @@ import { AlertStore } from "Stores/AlertStore";
|
||||
import { Settings } from "Stores/Settings";
|
||||
import { SilenceFormStore, NewEmptyMatcher } from "Stores/SilenceFormStore";
|
||||
import { StringToOption } from "Common/Select";
|
||||
import { DateTimeSelect, TabNames } from "./DateTimeSelect";
|
||||
import { DateTimeSelect } from "./DateTimeSelect";
|
||||
import { SilenceModalContent } from "./SilenceModalContent";
|
||||
|
||||
import "Styles/Percy.scss";
|
||||
@@ -187,7 +187,7 @@ storiesOf("SilenceModal", module)
|
||||
<div className="pt-2">
|
||||
<DateTimeSelect
|
||||
silenceFormStore={silenceFormStore}
|
||||
openTab={TabNames.Start}
|
||||
openTab={"start"}
|
||||
/>
|
||||
</div>
|
||||
</Modal>
|
||||
@@ -195,7 +195,7 @@ storiesOf("SilenceModal", module)
|
||||
<div className="pt-2">
|
||||
<DateTimeSelect
|
||||
silenceFormStore={silenceFormStore}
|
||||
openTab={TabNames.End}
|
||||
openTab={"end"}
|
||||
/>
|
||||
</div>
|
||||
</Modal>
|
||||
|
||||
Reference in New Issue
Block a user