UNPKG

alfred-figma

Version:

Alfred workflow to quick link figma projects and files

8 lines (4 loc) 260 B
const alfy = require('alfy') const teams = alfy.config.get('figma.teams') ? JSON.parse(alfy.config.get('figma.teams')) : [] const removeTeam = JSON.parse(alfy.input) alfy.config.set('figma.teams', JSON.stringify(teams.filter((t) => t.id != removeTeam.id)))