infinity-forge 0.17.3 → 0.17.4
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.
- package/dist/system/presentation/components/layout/component.js.map +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +2 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/layout/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA6B;AAC7B,mCAAiC;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../../src/system/presentation/components/layout/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA6B;AAC7B,mCAAiC;AAGjC,0CAA6B;AAE7B,SAAgB,MAAM,CAAC,EAA+E;QAA7E,QAAQ,cAAA,EAAE,UAAU,gBAAA;IAC3C,OAAO,CACL,wBAAC,CAAC,CAAC,MAAM,eACP,uBAAC,eAAM,KAAG,EAEV,iCAAK,SAAS,EAAC,gBAAgB,aAC7B,gCAAK,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAI,EAExD,uBAAC,WAAI,IAAC,UAAU,EAAE,UAAU,GAAI,EAEhC,2CAAO,QAAQ,GAAQ,IACnB,IACG,CACZ,CAAA;AACH,CAAC;AAdD,wBAcC"}
|
package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js
CHANGED
|
@@ -31,7 +31,8 @@ var system_1 = require("../../../../../../../../system/index.js");
|
|
|
31
31
|
var content_1 = require("./content/index.js");
|
|
32
32
|
var S = __importStar(require("./styles.js"));
|
|
33
33
|
function Profile() {
|
|
34
|
-
var
|
|
34
|
+
var user = (0, system_1.useAuthAdmin)().user;
|
|
35
|
+
var avatarImage = (user === null || user === void 0 ? void 0 : user.avatar) || '/images/avatar-default.png';
|
|
35
36
|
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Profile', children: (0, jsx_runtime_1.jsx)(S.Profile, { children: (0, jsx_runtime_1.jsx)(semantic_ui_react_1.Popup, { style: { padding: '0' }, trigger: (0, jsx_runtime_1.jsx)(system_1.Avatar, { image: avatarImage }), on: 'click', content: (0, jsx_runtime_1.jsx)(content_1.Content, {}), position: 'bottom right' }) }) }));
|
|
36
37
|
}
|
|
37
38
|
exports.Profile = Profile;
|
package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/profile/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AAEzC,2BAA4B;AAC5B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/system/presentation/components/layout/header/components/menu-right/profile/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AAEzC,2BAA4B;AAC5B,mCAA+C;AAE/C,qCAAmC;AAEnC,0CAA6B;AAE7B,SAAgB,OAAO;IACb,IAAA,IAAI,GAAK,IAAA,qBAAY,GAAE,KAAnB,CAAmB;IAE/B,IAAM,WAAW,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,KAAI,4BAA4B,CAAA;IAChE,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,uBAAC,CAAC,CAAC,OAAO,cACR,uBAAC,yBAAK,IACJ,KAAK,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,EACvB,OAAO,EAAE,uBAAC,eAAM,IAAC,KAAK,EAAE,WAAW,GAAI,EACvC,EAAE,EAAC,OAAO,EACV,OAAO,EAAE,uBAAC,iBAAO,KAAG,EACpB,QAAQ,EAAC,cAAc,GACvB,GACQ,GACN,CACT,CAAA;AACH,CAAC;AAjBD,0BAiBC"}
|