mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
feat(custom-templates): filter templates by edge [EE-6565] (#10979)
This commit is contained in:
parent
441a8bbbbf
commit
2826a4ce39
10 changed files with 229 additions and 21 deletions
|
@ -9,8 +9,8 @@ import { confirmDelete } from '@@/modals/confirm';
|
|||
|
||||
export function ListView() {
|
||||
const templatesQuery = useCustomTemplates({
|
||||
select(templates) {
|
||||
return templates.filter((t) => t.EdgeTemplate);
|
||||
params: {
|
||||
edge: true,
|
||||
},
|
||||
});
|
||||
const deleteMutation = useDeleteTemplateMutation();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue