提交 64b01a80 编写于 作者: M Martin Aeschlimann

do not use values

上级 a2a82fab
......@@ -166,7 +166,9 @@ class IconRegistry implements IIconRegistry {
let reference = [];
let docCss = [];
for (const i of Object.values(this.iconsById).sort(sorter)) {
const contributions = Object.keys(this.iconsById).map(key => this.iconsById[key]);
for (const i of contributions.sort(sorter)) {
reference.push(`|<i class="${classNames(i)}"></i>|${i.id}|${ThemeIcon.isThemeIcon(i.defaults) ? i.defaults.id : ''}|`);
if (!ThemeIcon.isThemeIcon((i.defaults))) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册