${updatedRegistry?.data.status === 'active' ? html`
✓
Connection successful!
` : html`
✗
Connection failed!
${updatedRegistry?.data.lastError ? html`
Error: ${updatedRegistry.data.lastError}
` : ''}`}
`, menuOptions: [ { name: 'OK', action: async (modalArg: any) => { await modalArg.destroy(); } } ] });
} },
{ name: 'Delete', iconName: 'trash', type: ['contextmenu'], actionFunc: async (actionDataArg: any) => {
const registry = actionDataArg.item as plugins.interfaces.data.IExternalRegistry;
plugins.deesCatalog.DeesModal.createAndShow({ heading: `Delete Registry: ${registry.data.name}`, content: html`Do you really want to delete this external registry?
This will remove all stored credentials and configuration.