1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

feat(docker): migrate files table to react [EE-4663] (#8916)

This commit is contained in:
Chaim Lev-Ari 2023-07-16 10:59:58 +03:00 committed by GitHub
parent 146681e1c7
commit 09f60c3277
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 529 additions and 229 deletions

View file

@ -1,15 +1,13 @@
<files-datatable
title-text="Volume browser"
title-icon="file"
<agent-volume-browser-react
ng-if="$ctrl.files"
dataset="$ctrl.files"
table-key="volume_browser"
order-by="Dir"
is-root="$ctrl.state.path === '/'"
go-to-parent="$ctrl.up()"
browse="$ctrl.browse(name)"
rename="$ctrl.rename(name, newName)"
download="$ctrl.download(name)"
delete="$ctrl.confirmDelete(name)"
on-go-to-parent="($ctrl.up)"
on-browse="($ctrl.browse)"
on-rename="($ctrl.rename)"
on-download="($ctrl.download)"
on-delete="($ctrl.confirmDelete)"
is-upload-allowed="$ctrl.isUploadEnabled"
on-file-selected-for-upload="($ctrl.onFileSelectedForUpload)"
></files-datatable>
relative-path="$ctrl.state.path"
></agent-volume-browser-react>