From 082a498e8dd7182ff586c31655da61460fe92864 Mon Sep 17 00:00:00 2001 From: Gabe Stocco <98900+gfs@users.noreply.github.com> Date: Fri, 30 Jul 2021 15:57:46 -0700 Subject: [PATCH] Fix the report page loading results (#603) * Fix displaying results in the report page. * Improve drop down run id showing --- Cli/Components/States/Results.razor | 13 ++++++++----- Cli/Pages/Report.razor | 8 +++++++- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/Cli/Components/States/Results.razor b/Cli/Components/States/Results.razor index 648b7978..4ce550b0 100644 --- a/Cli/Components/States/Results.razor +++ b/Cli/Components/States/Results.razor @@ -67,15 +67,18 @@ else } @code { - + string _firstRunId = string.Empty; + string _secondRundId = string.Empty; + string _analysesHash = string.Empty; + string _monitorRunId = string.Empty; [Parameter] - public string FirstRunId { get; set; } + public string FirstRunId { get { return _firstRunId; } set { _firstRunId = value; OnInitialized(); } } [Parameter] - public string SecondRunId { get; set; } + public string SecondRunId { get { return _secondRundId; } set { _secondRundId = value; OnInitialized(); } } [Parameter] - public string AnalysesHash { get; set; } + public string AnalysesHash { get { return _analysesHash; } set { _analysesHash = value; OnInitialized(); } } [Parameter] - public string MonitorRunId { get; set; } + public string MonitorRunId { get { return _monitorRunId; } set { _monitorRunId = value; OnInitialized(); } } protected override void OnInitialized() { diff --git a/Cli/Pages/Report.razor b/Cli/Pages/Report.razor index c4d6a095..14012b44 100644 --- a/Cli/Pages/Report.razor +++ b/Cli/Pages/Report.razor @@ -10,7 +10,13 @@