**Steps to replicate the issue** (include links if applicable):
Seems to only happen when the page is first loaded, I can't reproduce using my console.
* add portlet links via `mw.util.addPortletLink`
**What happens?**:
second portlet link has an empty icon
| {F36824011} | {F36824013} | {F36824015}
**What should have happened instead?**:
- No icon (no ID was passed)
- If ID has passed strictly one icon
**Software version** (skip for WMF-hosted wikis like Wikipedia):
**Other information** (browser name/version, screenshots, etc.):
```
lang=js
/* Edit personal nav links */
mw.loader.using('mediawiki.util').then(function () {
mw.util.addPortletLink('p-personal', '/wiki/en:User:TerraCodes/dashboard', 'Dashboard', null, null, null, '#pt-betafeatures');
mw.util.addPortletLink('p-personal', '/wiki/en:Special:ProblemChanges', 'Problem', null, null, null, '#pt-betafeatures');
$(function () {
mw.util.addPortletLink('p-personal-sticky-header', '/wiki/en:User:TerraCodes/dashboard', 'Dashboard', null, null, null, '#pt-betafeatures-sticky-header');
mw.util.addPortletLink('p-personal-sticky-header', '/wiki/en:Special:ProblemChanges', 'Problem', null, null, null, '#pt-betafeatures-sticky-header');
});
});
```
{F36318869}
# other issues
vector-tab-noicon class is removed unexpectedly
https://m.mediawiki.org/wiki/Talk:Reading/Web/Desktop_Improvements#addPortletLink
# QA steps
1) Run the following code when logged in:
```
mw.util.addPortletLink('p-personal', '/wiki/en:User:TerraCodes/dashboard', 'Dashboard', null, null, null, '#pt-betafeatures');
```
Expected: A link appears after beta features without an icon
2) Run the following code when logged in:
```
mw.util.addPortletLink('p-personal', '/wiki/en:User:TerraCodes/dashboard', 'Dashboard', 'testing', null, null, '#pt-betafeatures');
```
Expected: A link appears after beta features with space allocated for an icon (but there should be no icon)