Refactor interaction handling with utility for translations

Introduced `TermHelper.Translate` to centralize string mappings for `InteractionType`, reducing duplication across components. Updated related code to leverage this utility and streamline interaction row implementation by removing the `Caption` parameter. Minor UI adjustments were also made to align button positioning and styling.
This commit is contained in:
Andre Beging
2025-03-28 20:31:25 +01:00
parent 350e2003ca
commit 0324e0f529
7 changed files with 70 additions and 45 deletions

View File

@@ -25,4 +25,6 @@
<Switch TValue="bool" @bind-Checked="Prospect.Warning">Achtung!</Switch>
</Field>
<Button Color="Color.Primary" Clicked="@SaveClick">@SaveButtonText</Button>
<div class="d-flex justify-content-end">
<Button Color="Color.Primary" Clicked="@SaveClick">@SaveButtonText</Button>
</div>