v1.0.24: stable-rebuild from v1.0.14 + reload fix

Base: v1.0.14 (last known good before icon changes).
Added: PI reloads automatically after API token is saved on fresh
install so onPropertyInspectorDidAppear re-fires with the token in
place, fixing the chicken-and-egg setup flow.
Versioned above master (1.0.22) so auto-updater leaves it alone.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
pdmarf
2026-04-23 21:29:16 +01:00
parent f69eb8e841
commit 980ae03930
6 changed files with 6 additions and 3 deletions

View File

@@ -172,6 +172,9 @@
};
$PI.setGlobalSettings(creds);
setCredStatus("Credentials saved.", "ok");
if (creds.notionToken && !creds.userId) {
setTimeout(function() { location.reload(); }, 300);
}
}
function populateUsers(users, savedUserId) {