Control display of Action button?

I can make an action button with your supplied sample code, to put a “assign to me” button on every record:

const api = context.getService("fibery");
await Promise.all(args.currentEntities.map((e) => api.assignUser(e.type, e.id, args.currentUser.id)));

Is there a way now, to control the display of the button, so that, if I am already assigned, it does not appear?

Unfortunately this is not possible yet, but we have that in plans

1 Like