1"use strict";(self["webpackChunkclient"]=self["webpackChunkclient"]||[]).push([[2708],{42708:function(e,t,s){s.r(t),s.d(t,{default:function(){return g}});var n=s(20641),i=s(90033);const l={class:"hero is-hero-bar"},a={class:"hero-body py-2"},o={class:"level"},r={class:"level-left"},d={class:"level-item"},c={class:"title"},v={class:"level-right"},u={class:"level-item"},h={class:"section py-2",style:{position:"relative","min-height":"100px"}};function k(e,t,s,k,p,f){const L=(0,n.g2)("b-button"),m=(0,n.g2)("VoteList");return(0,n.uX)(),(0,n.CE)("div",null,[(0,n.Lk)("section",l,[(0,n.Lk)("div",a,[(0,n.Lk)("div",o,[(0,n.Lk)("div",r,[(0,n.Lk)("div",d,[(0,n.Lk)("h1",c,(0,i.v_)(e.$t("Votes")),1)])]),(0,n.Lk)("div",v,[(0,n.Lk)("div",u,[e.isGranted("HR_TENANT")&&p.eventId?((0,n.uX)(),(0,n.Wv)(L,{key:0,class:"is-primary is-rounded","icon-left":"plus",onClick:f.openCreate},{default:(0,n.k6)(()=>[(0,n.eW)((0,i.v_)(e.$t("Create")),1)]),_:1},8,["onClick"])):(0,n.Q3)("",!0)])])])])]),(0,n.Lk)("section",h,[p.eventId?((0,n.uX)(),(0,n.Wv)(m,{key:0,ref:"eventVoteList","event-uuid":e.$route.params.item,"event-id":p.eventId,"hide-create":!0,"hide-filters":!0},null,8,["event-uuid","event-id"])):(0,n.Q3)("",!0)])])}var p=s(40834),f=s(58065),L={name:"EventVotes",components:{VoteList:f["default"]},data(){return{eventId:null}},computed:{...(0,p.L8)(["isGranted"])},created(){this.fetchEventId()},methods:{fetchEventId(){this.$http.plain.get("/events/"+this.$route.params.item).then(e=>{this.eventId=String(e.data.id)}).catch(e=>{console.log(e)})},openCreate(){this.$refs.eventVoteList&&this.$refs.eventVoteList.openCreateModal()}}},m=s(66262);const C=(0,m.A)(L,[["render",k]]);var g=C}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.