(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d225b99"],{e62d:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t._self._c;return e("top-table",{attrs:{columns:["product","createdAt","createdBy","actions"],sortable:["createdAt"],"order-by":{column:"createdAt",ascending:1},url:"/stores/".concat(t.$route.params.storeId,"/feed-cred/").concat(t.storeFeedData._id,"/exclude-products"),options:{perPage:25,perPageValues:[100],orderBy:{column:"productId"}},overlap:!1},scopedSlots:t._u([{key:"customAfterFilter",fn:function(r){return[e("ProductForm",{attrs:{storeFeedData:t.storeFeedData},on:{add:r.refresh}})]}},{key:"product",fn:function(t){return[e("ProductDropdownOption",{attrs:{item:t.row.product,preview:!0}})]}},{key:"createdBy",fn:function(t){return[e("UserAvatar",{attrs:{user:t.row.createdBy}})]}},{key:"createdAt",fn:function(r){return[e("div",{staticClass:"d-flex flex-column"},[t._v("\n      "+t._s(t._f("date")(r.row.createdAt))+"\n    ")])]}},{key:"actions",fn:function(r){return[e("delete-button",{staticClass:"ml-2",attrs:{title:"Product",remove:function(e){return t.removeCondition(r)},"btn-class":"btn btn-link"}})]}}])})},o=[],c=(r("96cf"),r("3b8d")),a={props:{storeFeedData:Object},components:{UserAvatar:function(){return r.e("chunk-2d0dd11c").then(r.bind(null,"808f"))},ProductDropdownOption:function(){return r.e("chunk-2d0d7444").then(r.bind(null,"75a1"))},ProductForm:function(){return r.e("chunk-2d22cad0").then(r.bind(null,"f3f3"))}},methods:{removeCondition:function(){var t=Object(c["a"])(regeneratorRuntime.mark((function t(e){var r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return r=e.row,n=e.refresh,t.next=3,this.$http.delete("/stores/".concat(this.$route.params.storeId,"/feed-cred/").concat(this.storeFeedData._id,"/exclude-products/").concat(r._id));case 3:n();case 4:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()}},u=a,d=r("2877"),s=Object(d["a"])(u,n,o,!1,null,null,null);e["default"]=s.exports}}]);
//# sourceMappingURL=chunk-2d225b99.4a50ab07.js.map