Fix workspace selection and secret modal layout
This commit is contained in:
@@ -538,12 +538,15 @@ function initSecretsPage() {
|
||||
state.search = event.target.value || '';
|
||||
renderSecrets();
|
||||
});
|
||||
document.addEventListener('workspace:changed', function () {
|
||||
window.addEventListener('crank:workspacechange', function () {
|
||||
void load();
|
||||
});
|
||||
|
||||
updateKindFields();
|
||||
void load();
|
||||
void (async function bootSecretsPage() {
|
||||
await (window.whenWorkspacesReady ? window.whenWorkspacesReady() : Promise.resolve());
|
||||
await load();
|
||||
}());
|
||||
}
|
||||
|
||||
if (window.CrankDiagnostics && typeof window.CrankDiagnostics.bootstrap === 'function') {
|
||||
|
||||
Reference in New Issue
Block a user