|
@@ -1969,7 +1969,7 @@ class _StationsModule extends CoreClass {
|
|
|
|
|
|
if (
|
|
if (
|
|
queueAddBeforeAutofilled === true ||
|
|
queueAddBeforeAutofilled === true ||
|
|
- queueAddBeforeAutofilled.indexOf(stationId) !== -1
|
|
|
|
|
|
+ (Array.isArray(queueAddBeforeAutofilled) && queueAddBeforeAutofilled.indexOf(stationId) !== -1)
|
|
) {
|
|
) {
|
|
let position = station.queue.length;
|
|
let position = station.queue.length;
|
|
|
|
|