null features moment
This commit is contained in:
parent
4fc9d8c01d
commit
375eafd782
1 changed files with 2 additions and 0 deletions
|
@ -156,6 +156,8 @@ function enumKeyToName(key) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function formatGuildFeatures(features) {
|
function formatGuildFeatures(features) {
|
||||||
|
if (!features || features.length === 0) return [];
|
||||||
|
|
||||||
return features
|
return features
|
||||||
.sort((a, b) => {
|
.sort((a, b) => {
|
||||||
const feature_a = GuildFeaturesFormatted[a];
|
const feature_a = GuildFeaturesFormatted[a];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue