2 lines
2.2 KiB
JavaScript
2 lines
2.2 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["profile"],{1655:function(e,t,c){"use strict";c("4bc8")},"36e8":function(e,t,c){"use strict";c.r(t);var r=c("7a23"),n=Object(r["withScopeId"])("data-v-41f121e3");Object(r["pushScopeId"])("data-v-41f121e3");var o={key:0,id:"profile",class:"container"};Object(r["popScopeId"])();var a=n((function(e,t,c,n,a,s){var u=Object(r["resolveComponent"])("router-view");return e.authUser.username?(Object(r["openBlock"])(),Object(r["createBlock"])("div",o,[Object(r["createVNode"])(u,{user:e.authUser},null,8,["user"])])):Object(r["createCommentVNode"])("",!0)})),s=c("dad5"),u=c("2906"),d=Object(r["defineComponent"])({name:"ProfileView",setup:function(){var e=Object(u["a"])(),t=Object(r["computed"])((function(){return e.getters[s["e"].GETTERS.AUTH_USER_PROFILE]}));return{authUser:t}}});c("1655");d.render=a,d.__scopeId="data-v-41f121e3";t["default"]=d},"4bc8":function(e,t,c){},a8b5:function(e,t,c){},ad3d:function(e,t,c){"use strict";c.r(t);var r=c("7a23"),n=Object(r["withScopeId"])("data-v-ea77cdfe");Object(r["pushScopeId"])("data-v-ea77cdfe");var o={key:0,id:"user"},a={class:"box"};Object(r["popScopeId"])();var s=n((function(e,t,c,n,s,u){var d=Object(r["resolveComponent"])("UserHeader"),i=Object(r["resolveComponent"])("UserInfos");return e.user.username?(Object(r["openBlock"])(),Object(r["createBlock"])("div",o,[Object(r["createVNode"])(d,{user:e.user},null,8,["user"]),Object(r["createVNode"])("div",a,[Object(r["createVNode"])(i,{user:e.user,"from-admin":!0},null,8,["user"])])])):Object(r["createCommentVNode"])("",!0)})),u=c("6c02"),d=c("3c44"),i=c("71a7"),p=c("dad5"),b=c("2906"),f=Object(r["defineComponent"])({name:"UserView",components:{UserHeader:d["a"],UserInfos:i["a"]},setup:function(){var e=Object(u["c"])(),t=Object(b["a"])(),c=Object(r["computed"])((function(){return t.getters[p["d"].GETTERS.USER]}));return Object(r["onBeforeMount"])((function(){e.params.username&&"string"===typeof e.params.username&&t.dispatch(p["d"].ACTIONS.GET_USER,e.params.username)})),Object(r["onBeforeUnmount"])((function(){t.dispatch(p["d"].ACTIONS.EMPTY_USER)})),{user:c}}});c("c969");f.render=s,f.__scopeId="data-v-ea77cdfe";t["default"]=f},c969:function(e,t,c){"use strict";c("a8b5")}}]);
|
|
//# sourceMappingURL=profile.291e07db.js.map
|