This commit is contained in:
@@ -62,7 +62,13 @@ namespace AyaNova.Biz
|
||||
|
||||
//Seeder sets user options in advance so no need to create them here in that case
|
||||
if (inObj.UserOptions == null)
|
||||
{
|
||||
inObj.UserOptions = new UserOptions();
|
||||
//todo: for now defaulting to server boot config but might need to add this to the route as an option
|
||||
//now that it's not in the actual user record itself anymore as it's kind of critical
|
||||
//revisit when get to client ui
|
||||
inObj.UserOptions.TranslationId = ServerBootConfig.AYANOVA_DEFAULT_TRANSLATION_ID;
|
||||
}
|
||||
|
||||
await ValidateAsync(inObj, null);
|
||||
if (HasErrors)
|
||||
@@ -660,7 +666,7 @@ namespace AyaNova.Biz
|
||||
Hexadecimal notation: #RGB[A]
|
||||
R (red), G (green), B (blue), and A (alpha) are hexadecimal characters (0–9, A–F). A is optional. The three-digit notation (#RGB) is a shorter version of the six-digit form (#RRGGBB). For example, #f09 is the same color as #ff0099. Likewise, the four-digit RGB notation (#RGBA) is a shorter version of the eight-digit form (#RRGGBBAA). For example, #0f38 is the same color as #00ff3388.
|
||||
*/
|
||||
// This is untested as of now, but should work, maybe if it doesn't the selector needs to be combined with dot notation instead of two array notations?
|
||||
// This is untested as of now, but should work, maybe if it doesn't the selector needs to be combined with dot notation instead of two array notations?
|
||||
i.UserOptions.UiColor = j["jextra"]["hexaScheduleBackColor"].Value<string>();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user