diff --git a/COMETwebapp/Components/Tabs/TabsPanelComponent.razor b/COMETwebapp/Components/Tabs/TabsPanelComponent.razor
index c80771de..c9ffc4a0 100644
--- a/COMETwebapp/Components/Tabs/TabsPanelComponent.razor
+++ b/COMETwebapp/Components/Tabs/TabsPanelComponent.razor
@@ -70,7 +70,8 @@
+ CurrentThing="this.Panel.CurrentTab.ObjectOfInterest as Thing"
+ Id="@(this.Panel.CurrentTab.Id)"/>
}
diff --git a/COMETwebapp/Model/TabbedApplicationInformation.cs b/COMETwebapp/Model/TabbedApplicationInformation.cs
index c80f172d..0179bec0 100644
--- a/COMETwebapp/Model/TabbedApplicationInformation.cs
+++ b/COMETwebapp/Model/TabbedApplicationInformation.cs
@@ -42,6 +42,7 @@ public TabbedApplicationInformation(IApplicationBaseViewModel applicationBaseVie
this.ApplicationBaseViewModel = applicationBaseViewModel;
this.ComponentType = componentType;
this.ObjectOfInterest = objectOfInterest;
+ this.Id = Guid.NewGuid();
}
///
@@ -58,5 +59,10 @@ public TabbedApplicationInformation(IApplicationBaseViewModel applicationBaseVie
/// Gets the object of interest
///
public object ObjectOfInterest { get; }
+
+ ///
+ /// Gets the tab's id
+ ///
+ public Guid Id { get; }
}
}