@agilemotion/oui-react-js 1.2.4 → 1.2.5
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.
|
@@ -219,7 +219,7 @@ var DocumentUpload = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.defau
|
|
|
219
219
|
backgroundRepeat: 'no-repeat',
|
|
220
220
|
backgroundSize: 'cover',
|
|
221
221
|
backgroundColor: 'transparent',
|
|
222
|
-
backgroundImage: !_Utils.default.isNull(viewerFile) ? "url(".concat(viewerFile.base64, ")") : !_Utils.default.isNull(props.config.dataService) ? "url(".concat(location + '/agility/app/files/get/file?fileId=' + (!_Utils.default.isNull(base.value) ? base.value.id : '-1') + '&fileService=' + props.config.dataService.serviceId + (!_Utils.default.isNull(defaultImage) ? '&defaultImage=' + defaultImage : '') + '&access_token=' + sessionStorage.getItem("accessToken") + '&idToken=' + sessionStorage.getItem("idToken"), ")") : "url(".concat(require('
|
|
222
|
+
backgroundImage: !_Utils.default.isNull(viewerFile) ? "url(".concat(viewerFile.base64, ")") : !_Utils.default.isNull(props.config.dataService) ? "url(".concat(location + '/agility/app/files/get/file?fileId=' + (!_Utils.default.isNull(base.value) ? base.value.id : '-1') + '&fileService=' + props.config.dataService.serviceId + (!_Utils.default.isNull(defaultImage) ? '&defaultImage=' + defaultImage : '') + '&access_token=' + sessionStorage.getItem("accessToken") + '&idToken=' + sessionStorage.getItem("idToken"), ")") : "url(".concat(require('./default-avatar.png'), ")")
|
|
223
223
|
}
|
|
224
224
|
}))) : /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("label", {
|
|
225
225
|
htmlFor: "contained-button-file"
|
|
Binary file
|
|
@@ -120,7 +120,7 @@ var HomeNavbar = /*#__PURE__*/function (_React$Component) {
|
|
|
120
120
|
collapseOpen: false,
|
|
121
121
|
color: "navbar-transparent",
|
|
122
122
|
modalSearch: false,
|
|
123
|
-
avatar: _Utils.default.isNull(_this.props.avatar) ? require("
|
|
123
|
+
avatar: _Utils.default.isNull(_this.props.avatar) ? require("./default-avatar.png") : _this.props.avatar
|
|
124
124
|
};
|
|
125
125
|
return _this;
|
|
126
126
|
}
|
|
Binary file
|