Skip to content

Commit

Permalink
Setting Context.Component.Version
Browse files Browse the repository at this point in the history
  • Loading branch information
dhindrik committed Nov 27, 2024
1 parent 7959fb9 commit 9b149dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TinyInsights/ApplicationInsightsProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ private static void OnAppearing(object? sender, Page e)
client.Context.Cloud.RoleInstance = string.Empty;
client.Context.User.Id = GetUserId();

client.Context.Component.Version = AppInfo.VersionString;

// Add any global properties, the user has already added
foreach (var property in _globalProperties)
{
Expand Down

0 comments on commit 9b149dc

Please sign in to comment.