mirror of https://github.com/portainer/portainer
fix(edge/stacks): fix UI issues EE-5844 (#10021)
parent
2de4863532
commit
e1a3010bc7
|
@ -214,7 +214,7 @@ function InnerForm({
|
||||||
checked={values.retryDeploy}
|
checked={values.retryDeploy}
|
||||||
name="retryDeploy"
|
name="retryDeploy"
|
||||||
label="Retry deployment"
|
label="Retry deployment"
|
||||||
tooltip="When enabled, this will allow edge agent keep retrying deployment if failure occur"
|
tooltip="When enabled, this will allow the edge agent to retry deployment if failed to deploy initially"
|
||||||
labelClass="col-sm-3 col-lg-2"
|
labelClass="col-sm-3 col-lg-2"
|
||||||
onChange={(value) => setFieldValue('retryDeploy', value)}
|
onChange={(value) => setFieldValue('retryDeploy', value)}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -121,6 +121,7 @@ function ErrorCell({ getValue }: CellContext<EdgeStackEnvironment, string>) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
|
color="none"
|
||||||
className="flex cursor-pointer"
|
className="flex cursor-pointer"
|
||||||
onClick={() => setIsExpanded(!isExpanded)}
|
onClick={() => setIsExpanded(!isExpanded)}
|
||||||
>
|
>
|
||||||
|
|
|
@ -20,16 +20,18 @@ export function TableSettingsMenus({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<ColumnVisibilityMenu<DecoratedEdgeStack>
|
{columnsToHide && columnsToHide.length > 0 && (
|
||||||
columns={columnsToHide}
|
<ColumnVisibilityMenu<DecoratedEdgeStack>
|
||||||
onChange={(hiddenColumns) => {
|
columns={columnsToHide}
|
||||||
tableState.setHiddenColumns(hiddenColumns);
|
onChange={(hiddenColumns) => {
|
||||||
tableInstance.setColumnVisibility(
|
tableState.setHiddenColumns(hiddenColumns);
|
||||||
Object.fromEntries(hiddenColumns.map((col) => [col, false]))
|
tableInstance.setColumnVisibility(
|
||||||
);
|
Object.fromEntries(hiddenColumns.map((col) => [col, false]))
|
||||||
}}
|
);
|
||||||
value={tableState.hiddenColumns}
|
}}
|
||||||
/>
|
value={tableState.hiddenColumns}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
<TableSettingsMenu>
|
<TableSettingsMenu>
|
||||||
<TableSettingsMenuAutoRefresh
|
<TableSettingsMenuAutoRefresh
|
||||||
value={tableState.autoRefreshRate}
|
value={tableState.autoRefreshRate}
|
||||||
|
|
|
@ -38,7 +38,7 @@ export function PrivateRegistryFieldset({
|
||||||
const [selected, setSelected] = useState(value);
|
const [selected, setSelected] = useState(value);
|
||||||
|
|
||||||
const tooltipMessage =
|
const tooltipMessage =
|
||||||
'Use this when using a private registry that requires credentials';
|
'This allows you to provide credentials when using a private registry that requires authentication';
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (checked) {
|
if (checked) {
|
||||||
|
|
|
@ -51,8 +51,8 @@ export function AutoUpdateFieldset({
|
||||||
We've renamed "Automatic updates" to better align with
|
We've renamed "Automatic updates" to better align with
|
||||||
industry terminology and clarify its purpose for all users.
|
industry terminology and clarify its purpose for all users.
|
||||||
Originally chosen during the early emergence of GitOps, the name has
|
Originally chosen during the early emergence of GitOps, the name has
|
||||||
changed, but the functionality remains the same. GitOps has rapidly
|
changed, but the functionality remains unchanged. GitOps has rapidly
|
||||||
emerged as a revolutionary approach to manage infrastructure and
|
emerged as a revolutionary approach to managing infrastructure and
|
||||||
application changes, and we want to ensure our platform reflects the
|
application changes, and we want to ensure our platform reflects the
|
||||||
latest advancements in the industry.
|
latest advancements in the industry.
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue