fix(vip): honor manual membership changes
This commit is contained in:
@@ -103,6 +103,8 @@
|
||||
|
||||
function activate(name, updateHistory, forceLoad, queryParams) {
|
||||
if (!panels[name]) name = defaultTab;
|
||||
// VIP membership may change outside this page, so never reuse stale HTML.
|
||||
if (name === 'vip' && !forceLoad) forceLoad = true;
|
||||
return loadPanel(name, forceLoad, queryParams).then(function() {
|
||||
switchTo(name);
|
||||
if (updateHistory) updateUrl(name);
|
||||
|
||||
Reference in New Issue
Block a user