{{#popover-menu data-test-drain-popover isDisabled=isDisabled label=(if client.isDraining "Update Drain" "Drain") tooltip=(if isDisabled "Not allowed to drain clients") triggerClass=(concat "is-small " (if drain.isRunning "is-loading ") (if isDisabled "tooltip is-right-aligned") ) as |m|}}

Drain Options

{{#if deadlineEnabled}}
{{#power-select data-test-drain-deadline-option-select tagName="div" options=durationQuickOptions selected=selectedDurationQuickOption onChange=(action (mut selectedDurationQuickOption)) as |opt|}} {{opt.label}} {{/power-select}}
{{#if durationIsCustom}}
{{#if parseError}} {{parseError}} {{/if}}
{{/if}} {{/if}}
{{/popover-menu}}