firefly-iii/public/v3/js/7222.10d16552.js
2022-06-09 20:31:44 +02:00

1 line
1.3 KiB
JavaScript
Vendored

"use strict";(self["webpackChunkfirefly_iii"]=self["webpackChunkfirefly_iii"]||[]).push([[7222],{7222:(e,t,l)=>{l.r(t),l.d(t,{default:()=>b});var a=l(9835),i=l(6970);const s={class:"row q-mx-md"},u={class:"col-12"},r={class:"text-h6"},n={class:"row"},d={class:"col-12 q-mb-xs"},c=(0,a._)("br",null,null,-1);function o(e,t,l,o,f,h){const p=(0,a.up)("q-card-section"),w=(0,a.up)("q-card"),_=(0,a.up)("q-page");return(0,a.wg)(),(0,a.j4)(_,null,{default:(0,a.w5)((()=>[(0,a._)("div",s,[(0,a._)("div",u,[(0,a.Wm)(w,{bordered:""},{default:(0,a.w5)((()=>[(0,a.Wm)(p,null,{default:(0,a.w5)((()=>[(0,a._)("div",r,(0,i.zw)(f.rule.title),1)])),_:1}),(0,a.Wm)(p,null,{default:(0,a.w5)((()=>[(0,a._)("div",n,[(0,a._)("div",d,[(0,a.Uk)(" Rule: "+(0,i.zw)(f.rule.title),1),c])])])),_:1})])),_:1})])])])),_:1})}var f=l(9543);const h={name:"Show",data(){return{rule:{},id:0}},created(){this.id=parseInt(this.$route.params.id),this.getRule()},methods:{onRequest:function(e){this.page=e.page,this.getRule()},getRule:function(){(new f.Z).get(this.id).then((e=>this.parseRule(e)))},parseRule:function(e){this.rule={title:e.data.data.attributes.title}}}};var p=l(1639),w=l(9885),_=l(4458),m=l(3190),g=l(9984),v=l.n(g);const R=(0,p.Z)(h,[["render",o]]),b=R;v()(h,"components",{QPage:w.Z,QCard:_.Z,QCardSection:m.Z})}}]);