@topconsultnpm/sdkui-react-beta 6.15.102 → 6.15.103

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.
@@ -156,6 +156,10 @@ const TMLoginForm = (props) => {
156
156
  return (props.endpoints.length === 1 && dcmtArchives.length === 1);
157
157
  }, [dcmtArchives, props.endpoints]);
158
158
  useEffect(() => {
159
+ if (props.isConnector) {
160
+ setShowDefaultLogo(true);
161
+ return;
162
+ }
159
163
  fetch('logo-custom.svg', { method: 'HEAD' })
160
164
  .then(res => {
161
165
  const isSvg = res.headers.get('Content-Type')?.includes('image/svg');
@@ -167,7 +171,7 @@ const TMLoginForm = (props) => {
167
171
  }
168
172
  })
169
173
  .catch(() => setShowDefaultLogo(true));
170
- }, []);
174
+ }, [props.isConnector]);
171
175
  useEffect(() => {
172
176
  const checkRefsReady = () => inputRefs.every(ref => ref?.current);
173
177
  if (!checkRefsReady()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.15.102",
3
+ "version": "6.15.103",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",