mirror of
https://github.com/fleetbase/fleetbase.git
synced 2025-12-19 22:27:22 +00:00
fix as-array utility
This commit is contained in:
@@ -7,5 +7,5 @@ module.exports = function asArray(value) {
|
||||
return value.split(',');
|
||||
}
|
||||
|
||||
return [];
|
||||
return Array.from(value);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user