Since the presence of the action should be evaluated ideally on click instead of on script execution I think the FileAction enabled callback needs to be set to something like () => Boolean(getDateTime(option.dateTimePreset)) to be more reactive
Originally posted by @Pytal in #41010 (comment)
server/apps/files_reminders/src/actions/setReminderSuggestionActions.ts
Line 86 in 32c1aeb
Since the presence of the action should be evaluated ideally on click instead of on script execution I think the
FileActionenabled callback needs to be set to something like() => Boolean(getDateTime(option.dateTimePreset))to be more reactiveOriginally posted by @Pytal in #41010 (comment)