mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-26 10:56:34 +00:00
Update Queue const to prevent DEPRECATED collisions
This commit is contained in:
parent
603de367c0
commit
1745ac0541
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue