Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
Fix no-unused-expressions lint error in trigger weekday toggle
Paulo Castellanofe8cd8a97031
diff --git a/resources/js/components/automations/config/TriggerNodeConfig.vue b/resources/js/components/automations/config/TriggerNodeConfig.vueindex fb87cbe89..054b830ec 100644--- a/resources/js/components/automations/config/TriggerNodeConfig.vue+++ b/resources/js/components/automations/config/TriggerNodeConfig.vue@@ -70,7 +70,11 @@ const weekdays = [const toggleWeekday = (value: number) => {const set = new Set(local.value.schedule_weekdays ?? []);- set.has(value) ? set.delete(value) : set.add(value);+ if (set.has(value)) {+ set.delete(value);+ } else {+ set.add(value);+ }local.value.schedule_weekdays = Array.from(set);};