mirror of https://github.com/MingweiSamuel/Riven
Update Queue const to prevent DEPRECATED collisions
parent
603de367c0
commit
1745ac0541
|
@ -28,7 +28,7 @@ pub enum Queue {
|
||||||
for (let { queueId, map, description, notes } of colQueues) {
|
for (let { queueId, map, description, notes } of colQueues) {
|
||||||
const doc = (description ? description + ' games on ' : '') + map;
|
const doc = (description ? description + ' games on ' : '') + map;
|
||||||
const deprecated = (notes || '').toUpperCase().indexOf('DEPRECATED') >= 0;
|
const deprecated = (notes || '').toUpperCase().indexOf('DEPRECATED') >= 0;
|
||||||
const name = groupName + ((colQueues.length > 1 && deprecated) ? '_DEPRECATED' : '');
|
const name = groupName + ((colQueues.length > 1 && deprecated) ? `_DEPRECATED_${queueId}` : '');
|
||||||
}}
|
}}
|
||||||
/// {{= doc }}.
|
/// {{= doc }}.
|
||||||
{{? notes }}
|
{{? notes }}
|
||||||
|
|
Loading…
Reference in New Issue