Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions frontend/src/components/DeviceTabs/ApplicationsTab.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Edgehog.
*
* Copyright 2025 SECO Mind Srl
* Copyright 2025 - 2026 SECO Mind Srl
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -42,6 +42,7 @@ const DEVICE_DEPLOYED_APPLICATIONS_FRAGMENT = graphql`
device(id: $id) {
id
online
capabilities
systemModel {
name
}
Expand Down Expand Up @@ -76,7 +77,7 @@ const DeviceApplicationsTab = ({ deviceRef }: DeviceApplicationsTabProps) => {
};
}, [handleRefetch]);

if (!device) {
if (!device || !device.capabilities.includes("CONTAINER_MANAGEMENT")) {
return null;
}

Expand Down
Loading