From 4852ce3734fe8f1e056576cbcd510eb9298e6011 Mon Sep 17 00:00:00 2001 From: "Beaugrand, Kevin" Date: Fri, 25 Feb 2022 13:52:36 +0100 Subject: [PATCH] Fix #300 - Remove Action buttons from IoT Edge Configuration --- .../Pages/Configurations/ConfigDetail.razor | 18 +----------------- .../Client/Pages/Configurations/Configs.razor | 9 --------- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/src/AzureIoTHub.Portal/Client/Pages/Configurations/ConfigDetail.razor b/src/AzureIoTHub.Portal/Client/Pages/Configurations/ConfigDetail.razor index be0b3eb02..620b0a9d8 100644 --- a/src/AzureIoTHub.Portal/Client/Pages/Configurations/ConfigDetail.razor +++ b/src/AzureIoTHub.Portal/Client/Pages/Configurations/ConfigDetail.razor @@ -13,7 +13,7 @@ - + @@ -76,10 +76,6 @@ } - - - - @@ -121,8 +117,6 @@ private ConfigListItem Config { get; set; } = new ConfigListItem(); - private bool success = true; - public string ConditionEnv { get; set; } public string ConditionType { get; set; } public string ConditionOwner { get; set; } @@ -162,16 +156,6 @@ } } - public async void SaveConfig() - { - await Task.Delay(0); // TODO? - } - - private async Task DeleteConfig() - { - await Task.Delay(0); // TODO? - } - /// /// Prompts a pop-up windows to show modules details (environment variables and identity twin settings) /// diff --git a/src/AzureIoTHub.Portal/Client/Pages/Configurations/Configs.razor b/src/AzureIoTHub.Portal/Client/Pages/Configurations/Configs.razor index 5490c5ec5..6ef207252 100644 --- a/src/AzureIoTHub.Portal/Client/Pages/Configurations/Configs.razor +++ b/src/AzureIoTHub.Portal/Client/Pages/Configurations/Configs.razor @@ -41,7 +41,6 @@ Priority Creation date Detail - Delete @@ -63,9 +62,6 @@ - - - @@ -100,9 +96,4 @@ exception.Redirect(); } } - - private async Task DeleteConfiguration(ConfigListItem config) - { - await Task.Delay(0); //TODO? - } } \ No newline at end of file