project-knowledge 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_site/index.html +2 -2
- package/package.json +1 -1
package/_site/index.html
CHANGED
|
@@ -1784,7 +1784,7 @@ createApp({
|
|
|
1784
1784
|
if (state.logging) Object.assign(loggingConfig, state.logging);
|
|
1785
1785
|
lastRun.value = state.lastRun || lastRun.value;
|
|
1786
1786
|
if (!selectedSlug.value && projectList.value.length) selectProject(projectList.value[0].slug);
|
|
1787
|
-
const aiProfileTask = activeView.value === "
|
|
1787
|
+
const aiProfileTask = activeView.value === "ai" && aiProfileFormDirty.value
|
|
1788
1788
|
? Promise.resolve()
|
|
1789
1789
|
: loadAiProfiles(false);
|
|
1790
1790
|
await Promise.all([loadJobs(), aiProfileTask, loadIssues()]);
|
|
@@ -2283,7 +2283,7 @@ createApp({
|
|
|
2283
2283
|
if (!aiConfig.profiles.find(p => p.id === selectedConfigProfileId.value)) {
|
|
2284
2284
|
selectedConfigProfileId.value = aiConfig.defaultProfileId || (aiConfig.profiles[0] && aiConfig.profiles[0].id) || "mock-agent";
|
|
2285
2285
|
}
|
|
2286
|
-
loadProfileForm();
|
|
2286
|
+
if (!aiProfileFormDirty.value || updateText) loadProfileForm();
|
|
2287
2287
|
return data;
|
|
2288
2288
|
}
|
|
2289
2289
|
|
package/package.json
CHANGED