forked from mirror/Riven
1
0
Fork 0

Update Queue const to prevent DEPRECATED collisions

users/mingwei/surf
Mingwei Samuel 2020-03-31 11:58:15 -07:00
parent 603de367c0
commit 1745ac0541
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ pub enum Queue {
for (let { queueId, map, description, notes } of colQueues) {
const doc = (description ? description + ' games on ' : '') + map;
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 }}.
{{? notes }}