mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
hotfix: prefs.
This commit is contained in:
1 parent
caaf8e31a5
commit
259dd91f16
1 file changed
+2
-1
@@ -220,7 +220,8 @@ function createPreferences() {
|
||||
loadTeamPrefs: loadTeamPreferences,
|
||||
|
||||
getDisplayNames: (tableId: string) => {
|
||||
return teamPreferences?.displayNames?.[tableId] ?? ['$id'];
|
||||
const names = teamPreferences?.displayNames?.[tableId];
|
||||
return Array.isArray(names) && names.length > 0 ? names : ['$id'];
|
||||
},
|
||||
|
||||
setDisplayNames: async (
|
||||
|
||||
Reference in new issue
Block a user