mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
feat(ui): complete UI embed
This commit is contained in:
1 parent
e8171dce26
commit
edcdd4ddef
15 files changed
+252
-52
No files matched your search
@@ -83,7 +83,7 @@ export function parseBool(str) {
|
||||
* @returns {string} Formatted display string.
|
||||
*/
|
||||
export function displayValue(key, value) {
|
||||
if (BOOL_SETTINGS.has(key)) return value ? "\u2705 enabled" : "\u274c disabled";
|
||||
if (BOOL_SETTINGS.has(key)) return value ? "✅ enabled" : "❌ disabled";
|
||||
if (value === null || value === undefined || value === "none") return "none";
|
||||
return "`" + value + "`";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user