diff --git a/roles/database/files/sql/idempotent/fworch-texts.sql b/roles/database/files/sql/idempotent/fworch-texts.sql index 1f42083af..c540fe21d 100644 --- a/roles/database/files/sql/idempotent/fworch-texts.sql +++ b/roles/database/files/sql/idempotent/fworch-texts.sql @@ -1762,8 +1762,8 @@ INSERT INTO txt VALUES ('customize_texts', 'German', 'Texte anpassen'); INSERT INTO txt VALUES ('customize_texts', 'English', 'Customize Texts'); INSERT INTO txt VALUES ('ignore_helptexts', 'German', 'Hilfetexte ignorieren'); INSERT INTO txt VALUES ('ignore_helptexts', 'English', 'Ignore help texts'); -INSERT INTO txt VALUES ('case_sensitive', 'German', ''); -INSERT INTO txt VALUES ('case_sensitive', 'English', 'Schreibungsabhängig'); +INSERT INTO txt VALUES ('case_sensitive', 'German', 'Schreibungsabhängig'); +INSERT INTO txt VALUES ('case_sensitive', 'English', 'Case Sensitive'); INSERT INTO txt VALUES ('key', 'German', 'Schlüssel'); INSERT INTO txt VALUES ('key', 'English', 'Key'); INSERT INTO txt VALUES ('text', 'German', 'Text'); diff --git a/roles/ui/files/FWO.UI/Pages/NetworkModelling/EditAppRole.razor b/roles/ui/files/FWO.UI/Pages/NetworkModelling/EditAppRole.razor index 95769cbf1..1ca69fd6a 100644 --- a/roles/ui/files/FWO.UI/Pages/NetworkModelling/EditAppRole.razor +++ b/roles/ui/files/FWO.UI/Pages/NetworkModelling/EditAppRole.razor @@ -23,7 +23,7 @@ {
- @if(AddMode && ! AppRoleHandler.ReadOnly) + @if(AddMode && !AppRoleHandler.ReadOnly) {
- + } diff --git a/roles/ui/files/FWO.UI/Pages/Reporting/Report.razor b/roles/ui/files/FWO.UI/Pages/Reporting/Report.razor index 02b8f779f..f740a18b3 100644 --- a/roles/ui/files/FWO.UI/Pages/Reporting/Report.razor +++ b/roles/ui/files/FWO.UI/Pages/Reporting/Report.razor @@ -238,11 +238,14 @@ { actReportFilters.Init(userConfig, false); injectedAppId = appId; - List owners = await apiConnection.SendQueryAsync>(Api.Client.Queries.OwnerQueries.getEditableOwners, new { appIds = appId }); - if(owners.Count > 0) + if(showModellingReports) { - actReportFilters.ModellingFilter.SelectedOwner = owners.First(); - autoGenerateReport = true; + List owners = await apiConnection.SendQueryAsync>(Api.Client.Queries.OwnerQueries.getEditableOwners, new { appIds = appId }); + if(owners.Count > 0) + { + actReportFilters.ModellingFilter.SelectedOwner = owners.First(); + autoGenerateReport = true; + } } } else diff --git a/roles/ui/files/FWO.UI/Pages/Reporting/ReportModellingParamSelection.razor b/roles/ui/files/FWO.UI/Pages/Reporting/ReportModellingParamSelection.razor index c8f3fa872..40c6ba2fa 100644 --- a/roles/ui/files/FWO.UI/Pages/Reporting/ReportModellingParamSelection.razor +++ b/roles/ui/files/FWO.UI/Pages/Reporting/ReportModellingParamSelection.razor @@ -6,7 +6,7 @@
@(userConfig.GetText("owner"))
- @owner.Display(userConfig.GetText("common_service")) diff --git a/roles/ui/files/FWO.UI/Pages/Reporting/ReportTemplateComponent.razor b/roles/ui/files/FWO.UI/Pages/Reporting/ReportTemplateComponent.razor index afbd3a166..a9c05d98d 100644 --- a/roles/ui/files/FWO.UI/Pages/Reporting/ReportTemplateComponent.razor +++ b/roles/ui/files/FWO.UI/Pages/Reporting/ReportTemplateComponent.razor @@ -121,7 +121,7 @@
- @(owner.Display(userConfig.GetText("common_service"))) @@ -191,7 +191,10 @@ { await RefreshTemplates(); recertOwnerList = await apiConnection.SendQueryAsync>(FWO.Api.Client.Queries.OwnerQueries.getOwners); - modOwnerList = await ModellingHandlerBase.GetOwnApps(authenticationStateTask, userConfig, apiConnection, DisplayMessageInUi); + if(showModellingReports) + { + modOwnerList = await ModellingHandlerBase.GetOwnApps(authenticationStateTask, userConfig, apiConnection, DisplayMessageInUi); + } } public async Task RefreshTemplates()