mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
Display and update App Name in settings (#3027)
* Edit and view app name in app settings Currently the "name" property is not exposed at all in an app's settings/update page, which can result in confusion about which app is being updated, and also a general confusion between the `Title` property and the `Name` property. This PR gives visibility to the app name in settings, and allows updating of the same. I also changed the display label for `title` and `name` to make them more distinct and specific. * Fix tests * Update AltcoinTests.cs * Update SeleniumTests.cs * fix tests Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
This commit is contained in:
@@ -21,7 +21,7 @@ namespace BTCPayServer.Models.AppViewModels
|
||||
[Required]
|
||||
[MaxLength(50)]
|
||||
[MinLength(1)]
|
||||
public string Name { get; set; }
|
||||
public string AppName { get; set; }
|
||||
|
||||
[Display(Name = "Store")]
|
||||
public string SelectedStore { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user