| 1 |
/** |
| 2 |
* Agents Manager provider for the AI Hub Scheduled tasks empty view. |
| 3 |
* |
| 4 |
* The translated suggestions are supplied by Jetpack through agentsManagerData. |
| 5 |
*/ |
| 6 |
|
| 7 |
/* global agentsManagerData */ |
| 8 |
|
| 9 |
export const providerId = 'jetpack-ai-hub-scheduled-tasks'; |
| 10 |
|
| 11 |
export const getEmptyViewSuggestions = () => { |
| 12 |
if ( typeof agentsManagerData === 'undefined' ) { |
| 13 |
return []; |
| 14 |
} |
| 15 |
|
| 16 |
return agentsManagerData.scheduledTaskEmptyViewSuggestions ?? []; |
| 17 |
}; |
| 18 |
|