From a170e0ada742eb808e151460034704f6b1535a74 Mon Sep 17 00:00:00 2001 From: Kutalo Alexey Date: Tue, 12 Feb 2019 03:21:17 -0800 Subject: [PATCH] Allow admin to edit post from public view --- public/images/custom-select.png | Bin 147 -> 14991 bytes public/mix-manifest.json | 2 +- resources/assets/js/views/post/View.vue | 10 ++++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/public/images/custom-select.png b/public/images/custom-select.png index 6af0b46f2a8a0a9322fe43778e0dd49c0bd13290..5a5f9f487b381da6f162a7162a205923adee0875 100755 GIT binary patch literal 14991 zcmeI3Ux*t;9LML7`seE5Lo5D4?7CHHt;zmLa=EOVw0B9)J2dTiz0x}@ZTEKPF3Tmm z>+W8YI}nPBS`b8`D59W`iU6>Cf@Wp2Z>4Sp$q_ew8_Loi4IiZgeNb<|f z_xGKh&-`YxFMDC(=#vxU_m3llCg$fVi{$%G^1ki%Tgj*T*~br)uREN%6%V1^dxG~E zdgtAH5h}cAE-m}ZwWk%`Zl*QEUd8El(;;e-cDU_m`Udv7RlIImMgIDiU-O)46#0|6 znpktnxNgpEyZHF_(ItI*LoXQo;nKL;R)|3p`x@77HY`tR7x~avA#uz+9}Lucb>`J{dIMQrhaI6Pv^7VN(xNaTsaCsjTC+Jc)AJW`JhPz# zdP`dl78bE*Z@M}r^8Ldu!Sk!<$do#Wc3@OJhb@1om7({1oK3e8f;MykH*k}rc!Yv9 zbS_Ta_HD0jj{w-~9*NO6*G8}idPb(CFr9|eQHcf*}#K_5baxEpw zlQ@-;vwBJsF;3;OlAO=1l8F~G;UxRh2dpc$z8Mr!$J!v)(^FHDB*tRE;+A>@~loxp;b=?1-J5M3HNM+Gu;du378YC<$G1-G*d} zDg;Z{F#A_7YVBXpZV?U^fNJQ3~@=BX;5Q^i;4&e7%oVI8Z%r}L{PwRK^oMU;i4jf0)`9HpvDXr6%iCLT#yDe zX1J(`pn&0mG^jDdMMVS!3>Tz9jTtT~A}C8Ps4>GuMFa&57oe)G(gS)y&sSEiTRKfmg-v$ba|});k5~$f8xLguUx+Sfh!YVUA*wjwWm(E{&F6w@!$S(YVPyh=E9Nd z`su&F`R>#$hrU1X{;oft_20;Ee6h0fTi Zp)=NrV`uK$_YoNv%~y|BKAAcD!hhb5Hb4LX delta 130 zcmeA#oy<5vqMC)7fq~)NoQ>i@N;JSH#P$FG|I60zMni{>yuJ)nz+MvM7tA1#P|!dB z{N^iK(Lf

{{ post.title }}

+
+ + + +
{{ trans('general.share') }}
@@ -109,6 +116,9 @@ helper.showSpinner(); this.$store.dispatch('setSearchCategory', categoryId); this.$router.push('/search'); + }, + hasRole(role) { + return helper.hasRole(role); } } }