+
{_('confirmBindingOnUnsupportedHost', { nLicenses: unsupportedXcpngHostIds.length })}
+
+ {unsupportedXcpngHostIds.map(hostId => (
+ -
+
+
+ ))}
+
+
+ ),
+ title: _('licensesBinding'),
+ })
+ }
+
+ await this.effects.bindXcpngLicenses(licensesByHost)
+ },
+ },
+ computed: {
+ isBindLicenseAvailable: (state, props) =>
+ getXoaPlan() !== SOURCES && state.poolLicenseInfoByPoolId[props.pool.id].supportLevel !== 'total',
+ isXcpngPool: (_, { poolHosts }) => poolHosts[0].productBrand === 'XCP-ng',
+ },
+ }),
+ injectState,
+ ({ effects, state }) => (
+