From c5c9659c76a3db7834106724536ffd444d67e7bc Mon Sep 17 00:00:00 2001 From: Will Miao <13051207myq@gmail.com> Date: Tue, 13 May 2025 15:25:40 +0800 Subject: [PATCH] Update refreshModels to pass folder update flag to resetAndReloadFunction --- static/js/api/baseModelApi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/api/baseModelApi.js b/static/js/api/baseModelApi.js index 7c7ab734..37d7c726 100644 --- a/static/js/api/baseModelApi.js +++ b/static/js/api/baseModelApi.js @@ -507,7 +507,7 @@ export async function refreshModels(options = {}) { } if (typeof resetAndReloadFunction === 'function') { - await resetAndReloadFunction(); + await resetAndReloadFunction(true); // update folders } showToast(`Refresh complete`, 'success');