From 95dc5a160f33cac5e16264ba52fecb295f48d906 Mon Sep 17 00:00:00 2001 From: Steve Kieffer Date: Fri, 14 Jun 2024 14:07:56 -0400 Subject: [PATCH] c: Bugfix in `RepoManager` The `repoIsTrustedSiteWide()` method (new in this release cycle) had a hard-coded "WIP" version, which should have been the passed `version` arg. (Looks like a copy-paste error.) --- client/src/trees/RepoManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/trees/RepoManager.js b/client/src/trees/RepoManager.js index 8132ec9..654f8c6 100644 --- a/client/src/trees/RepoManager.js +++ b/client/src/trees/RepoManager.js @@ -527,7 +527,7 @@ export class RepoManager { /* Check whether a repo is marked as being trusted site-wide. */ repoIsTrustedSiteWide(repopath, version) { - const repopathv = iseUtil.lv(repopath, "WIP"); + const repopathv = iseUtil.lv(repopath, version); const loaded = this.repoIsLoaded({repopathv}); let item = {}; if (loaded.fs) {