tenjin-ui-kit 0.2.186 → 0.2.187
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.
|
@@ -31,7 +31,8 @@ var ProjectTopbar = function ProjectTopbar(_ref) {
|
|
|
31
31
|
loggedInUser = _ref.loggedInUser,
|
|
32
32
|
actions = _ref.actions,
|
|
33
33
|
onLogout = _ref.onLogout,
|
|
34
|
-
onViewProfileClick = _ref.onViewProfileClick
|
|
34
|
+
onViewProfileClick = _ref.onViewProfileClick,
|
|
35
|
+
hrefLink = _ref.hrefLink;
|
|
35
36
|
var theme = (0, _system.useTheme)();
|
|
36
37
|
var _useState = (0, _react.useState)(null),
|
|
37
38
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -102,15 +103,15 @@ var ProjectTopbar = function ProjectTopbar(_ref) {
|
|
|
102
103
|
alignItems: "center"
|
|
103
104
|
}
|
|
104
105
|
}, /*#__PURE__*/_react.default.createElement("a", {
|
|
105
|
-
href: "/home/projects/recentprojects",
|
|
106
|
+
href: hrefLink || "/home/projects/recentprojects",
|
|
106
107
|
style: {
|
|
107
108
|
marginRight: "1rem",
|
|
108
109
|
textDecoration: "none"
|
|
109
110
|
}
|
|
110
111
|
}, /*#__PURE__*/_react.default.createElement(_system.Box, {
|
|
111
112
|
sx: {
|
|
112
|
-
width: 35,
|
|
113
|
-
height: 30,
|
|
113
|
+
width: homeIcon ? 100 : 35,
|
|
114
|
+
height: homeIcon ? 90 : 30,
|
|
114
115
|
// marginTop: theme.spacing(1.7),
|
|
115
116
|
"& img": {
|
|
116
117
|
width: "inherit",
|