From 34197eeab8d8b42de57a7a1058129b4b0ac956de Mon Sep 17 00:00:00 2001 From: nickcastel50 Date: Mon, 3 Jun 2024 15:08:52 -0400 Subject: [PATCH] Fix ISSUE #708 --- package.json | 2 +- src/Share.jsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 51c5994e1..983fe31bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bldrs", - "version": "1.0.1038", + "version": "1.0.1047", "main": "src/index.jsx", "license": "AGPL-3.0", "homepage": "https://github.com/bldrs-ai/Share", diff --git a/src/Share.jsx b/src/Share.jsx index ebb83170e..5f46f9aeb 100644 --- a/src/Share.jsx +++ b/src/Share.jsx @@ -58,7 +58,8 @@ export default function Share({installPrefix, appPrefix, pathPrefix}) { } if (modelPath === null || (modelPath.filepath && modelPath.filepath !== mp.filepath) || - (modelPath.gitpath && modelPath.gitpath !== mp.gitpath)) { + (modelPath.gitpath && modelPath.gitpath !== mp.gitpath) || + (!modelPath.gitpath && mp.gitpath)) { setModelPath(mp) debug().log('Share#onChangeUrlParams: new model path: ', mp) }