mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 17:05:48 +00:00
The currentTaskChange handler destructured { current, previous } from
the hook payload with no nullish guard, unlike its sibling handlers
(taskCreated/taskComplete/taskUpdate) which all check payload first.
A nullish payload threw TypeError into PluginHooksService.dispatchHook,
logged as a plugin hook handler error. Guard the payload before
destructuring, matching the existing handler pattern.
|
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| core | ||
| utils | ||
| index.html | ||
| index.tsx | ||
| manifest.json | ||
| plugin.ts | ||
| types.ts | ||