File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
site/src/pages/CreateTemplatePage Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 9
9
MockTemplateVersionVariable4 ,
10
10
MockTemplateVersionVariable5 ,
11
11
} from "testHelpers/entities" ;
12
+ import { withDashboardProvider } from "testHelpers/storybook" ;
12
13
import { CreateTemplateForm } from "./CreateTemplateForm" ;
13
14
14
15
const meta : Meta < typeof CreateTemplateForm > = {
@@ -18,6 +19,7 @@ const meta: Meta<typeof CreateTemplateForm> = {
18
19
isSubmitting : false ,
19
20
onCancel : action ( "onCancel" ) ,
20
21
} ,
22
+ decorators : [ withDashboardProvider ] ,
21
23
} ;
22
24
23
25
export default meta ;
Original file line number Diff line number Diff line change @@ -196,7 +196,6 @@ export const CreateTemplateForm: FC<CreateTemplateFormProps> = (props) => {
196
196
variablesSectionRef,
197
197
} = props ;
198
198
const multiOrgExperimentEnabled = experiments . includes ( "multi-organization" ) ;
199
- // TODO: if there is only 1 organization, set the dropdown to the default organizationId or hide it
200
199
201
200
const form = useFormik < CreateTemplateData > ( {
202
201
initialValues : getInitialValues ( {
You can’t perform that action at this time.
0 commit comments