PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.10.01
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.10.01
2.11.0 2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 All 78 releases
← All changes | assets/ManageFeedLinks.js +1 -1 2.11.0 → 2.10.01 View file →
@@ -1 +1 @@
1 -import{d as u}from"./element-plus.js?ver=2.11.0";import"./dayjs.js?ver=2.11.0";import{M as c}from"./_MenuGroupSettings.js?ver=2.11.0";import{F as o,S as l,O as i,E as d,ae as p,D as n}from"./vue.js?ver=2.11.0";import{_}from"./emoji-picker.js?ver=2.11.0";import"./fcom-utils.js?ver=2.11.0";import"./vendor.js?ver=2.11.0";import"./app.js?ver=2.11.0";import"./vue-router.js?ver=2.11.0";import"./pinia.js?ver=2.11.0";import"./milkdown.js?ver=2.11.0";const h={name:"ManageFeedLinks",components:{MenuGroupSettings:c},props:["savingCount"],emits:["saved"],data(){return{loading:!1,menuItems:[]}},watch:{savingCount(){this.saveMenuItems()}},methods:{getMenuItems(){this.loading=!0,this.$get("feeds/links").then(e=>{this.menuItems=e.links}).catch(e=>{this.$handleError(e)}).finally(()=>{this.loading=!1})},saveMenuItems(){let e="feeds/links";this.$post(e,{links:this.menuItems}).then(t=>{this.$notify.success(t.message),this.menuItems=t.links,this.$emit("saved")}).catch(t=>{this.$handleError(t)})}},mounted(){this.getMenuItems()}},g={class:"fcom_customizer_container"},f={key:0,class:"fcom_card_sections"};function k(e,t,v,I,s,m){const a=p("menu-group-settings"),r=u;return n(),o("div",g,[s.loading?i("",!0):(n(),o("div",f,[l(a,{custom_svg:!0,use_icon_selector:!0,has_svg:!1,title:e.$t("Manage Links"),menuItems:s.menuItems,onSave:t[0]||(t[0]=M=>m.saveMenuItems())},null,8,["title","menuItems"])])),s.loading?(n(),d(r,{key:1,rows:5,animated:""})):i("",!0)])}const V=_(h,[["render",k]]);export{V as default};
1 +import{d as u}from"./element-plus.js?ver=2.10.01";import"./dayjs.js?ver=2.10.01";import{M as c}from"./_MenuGroupSettings.js?ver=2.10.01";import{F as o,S as l,O as i,E as p,ae as d,D as n}from"./vue.js?ver=2.10.01";import{_}from"./emoji-picker.js?ver=2.10.01";import"./fcom-utils.js?ver=2.10.01";import"./vendor.js?ver=2.10.01";import"./app.js?ver=2.10.01";import"./vue-router.js?ver=2.10.01";import"./pinia.js?ver=2.10.01";import"./milkdown.js?ver=2.10.01";import"./FluentDnD.js?ver=2.10.01";const h={name:"ManageFeedLinks",components:{MenuGroupSettings:c},props:["savingCount"],emits:["saved"],data(){return{loading:!1,menuItems:[]}},watch:{savingCount(){this.saveMenuItems()}},methods:{getMenuItems(){this.loading=!0,this.$get("feeds/links").then(e=>{this.menuItems=e.links}).catch(e=>{this.$handleError(e)}).finally(()=>{this.loading=!1})},saveMenuItems(){let e="feeds/links";this.$post(e,{links:this.menuItems}).then(t=>{this.$notify.success(t.message),this.menuItems=t.links,this.$emit("saved")}).catch(t=>{this.$handleError(t)})}},mounted(){this.getMenuItems()}},g={class:"fcom_customizer_container"},f={key:0,class:"fcom_card_sections"};function k(e,t,v,I,s,m){const r=d("menu-group-settings"),a=u;return n(),o("div",g,[s.loading?i("",!0):(n(),o("div",f,[l(r,{custom_svg:!0,use_icon_selector:!0,has_svg:!1,title:e.$t("Manage Links"),menuItems:s.menuItems,onSave:t[0]||(t[0]=M=>m.saveMenuItems())},null,8,["title","menuItems"])])),s.loading?(n(),p(a,{key:1,rows:5,animated:""})):i("",!0)])}const z=_(h,[["render",k]]);export{z as default};