fix: move page ai launcher to pi lab
This commit is contained in:
@@ -880,9 +880,9 @@ export function createSidebarPageAiRuntime(context) {
|
||||
|
||||
function pageAiOpencodeHostEnabled() {
|
||||
try {
|
||||
return window.localStorage ? window.localStorage.getItem('mnote.page_ai.opencode_host') !== '0' : true;
|
||||
return window.localStorage ? window.localStorage.getItem('mnote.page_ai.opencode_host') === '1' : false;
|
||||
} catch (_error) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user