mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 23:35:31 +02:00
fix(docker): missing browse volume option [EE-7179] (#11901)
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:ppc64le platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:s390x platform:linux version:]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:ppc64le platform:linux version:]) (push) Waiting to run
ci / build_images (map[arch:s390x platform:linux version:]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
This commit is contained in:
parent
6486a5d971
commit
4d586f7a85
8 changed files with 61 additions and 42 deletions
|
@ -14,6 +14,7 @@ import { useTableState } from '@@/datatables/useTableState';
|
|||
import { withMeta } from '@@/datatables/extend-options/withMeta';
|
||||
import { Button } from '@@/buttons';
|
||||
import { TextTip } from '@@/Tip/TextTip';
|
||||
import { mergeOptions } from '@@/datatables/extend-options/mergeOptions';
|
||||
|
||||
import { useColumns } from './columns/useColumns';
|
||||
import { Access } from './types';
|
||||
|
@ -55,10 +56,12 @@ export function AccessDatatable({
|
|||
isLoading={!dataset}
|
||||
columns={columns}
|
||||
settingsManager={tableState}
|
||||
extendTableOptions={withMeta({
|
||||
table: 'access-table',
|
||||
roles: rolesState,
|
||||
})}
|
||||
extendTableOptions={mergeOptions(
|
||||
withMeta({
|
||||
table: 'access-table',
|
||||
roles: rolesState,
|
||||
})
|
||||
)}
|
||||
isRowSelectable={({ original: item }) => !inheritFrom || !item.Inherited}
|
||||
renderTableActions={(selectedItems) => (
|
||||
<>
|
||||
|
|
|
@ -5,6 +5,7 @@ import { createPersistedStore } from '@@/datatables/types';
|
|||
import { useTableState } from '@@/datatables/useTableState';
|
||||
import { Datatable } from '@@/datatables';
|
||||
import { withControlledSelected } from '@@/datatables/extend-options/withControlledSelected';
|
||||
import { mergeOptions } from '@@/datatables/extend-options/mergeOptions';
|
||||
|
||||
import { RegistryGitlabProject } from '../../types/gitlabProject';
|
||||
|
||||
|
@ -40,9 +41,11 @@ export function GitlabProjectTable({
|
|||
settingsManager={tableState}
|
||||
title="Gitlab projects"
|
||||
titleIcon={ListIcon}
|
||||
extendTableOptions={withControlledSelected(
|
||||
(ids) => onChange(dataset.filter(({ Id }) => ids.includes(`${Id}`))),
|
||||
value.map(({ Id }) => `${Id}`)
|
||||
extendTableOptions={mergeOptions(
|
||||
withControlledSelected(
|
||||
(ids) => onChange(dataset.filter(({ Id }) => ids.includes(`${Id}`))),
|
||||
value.map(({ Id }) => `${Id}`)
|
||||
)
|
||||
)}
|
||||
isRowSelectable={({ original: item }) => item.RegistryEnabled}
|
||||
data-cy="gitlab-projects-datatable"
|
||||
|
|
|
@ -5,6 +5,7 @@ import { Datatable } from '@@/datatables';
|
|||
import { useTableStateWithStorage } from '@@/datatables/useTableState';
|
||||
import { DeleteButton } from '@@/buttons/DeleteButton';
|
||||
import { withMeta } from '@@/datatables/extend-options/withMeta';
|
||||
import { mergeOptions } from '@@/datatables/extend-options/mergeOptions';
|
||||
|
||||
import { Tag } from './types';
|
||||
import { useColumns } from './columns/useColumns';
|
||||
|
@ -45,13 +46,15 @@ export function TagsDatatable({
|
|||
)
|
||||
}
|
||||
getRowId={(tag) => tag.Name}
|
||||
extendTableOptions={withMeta({
|
||||
onUpdate: async () => {
|
||||
await onRetag(updatesState.updates);
|
||||
updatesState.clear();
|
||||
},
|
||||
table: 'registry-repository-tags',
|
||||
})}
|
||||
extendTableOptions={mergeOptions(
|
||||
withMeta({
|
||||
onUpdate: async () => {
|
||||
await onRetag(updatesState.updates);
|
||||
updatesState.clear();
|
||||
},
|
||||
table: 'registry-repository-tags',
|
||||
})
|
||||
)}
|
||||
data-cy="registry-tags-datatable"
|
||||
/>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue