mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
fix(edge-stacks): various custom template issues [BE-11414] (#189)
This commit is contained in:
parent
16a1825990
commit
97e7a3c5e2
24 changed files with 749 additions and 374 deletions
|
@ -1,3 +1,4 @@
|
|||
import { InlineLoader } from '@@/InlineLoader';
|
||||
import { WebEditorForm } from '@@/WebEditorForm';
|
||||
|
||||
export function DockerContentField({
|
||||
|
@ -5,12 +6,18 @@ export function DockerContentField({
|
|||
onChange,
|
||||
readonly,
|
||||
value,
|
||||
isLoading,
|
||||
}: {
|
||||
value: string;
|
||||
onChange: (value: string) => void;
|
||||
error?: string;
|
||||
readonly?: boolean;
|
||||
isLoading?: boolean;
|
||||
}) {
|
||||
if (isLoading) {
|
||||
return <InlineLoader>Loading stack content...</InlineLoader>;
|
||||
}
|
||||
|
||||
return (
|
||||
<WebEditorForm
|
||||
id="stack-creation-editor"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue