@@ -78,6 +78,7 @@ const Actions: React.FC = () => {
7878 return (
7979 < S . ConnectorActionsWrapperStyled >
8080 < Dropdown
81+ disabled = { isMutating }
8182 label = {
8283 < S . RestartButton >
8384 < S . ButtonLabel > Restart</ S . ButtonLabel >
@@ -88,7 +89,6 @@ const Actions: React.FC = () => {
8889 { connector ?. status . state === ConnectorState . RUNNING && (
8990 < ActionDropdownItem
9091 onClick = { pauseConnectorHandler }
91- disabled = { isMutating }
9292 permission = { {
9393 resource : ResourceType . CONNECT ,
9494 action : Action . EDIT ,
@@ -101,7 +101,6 @@ const Actions: React.FC = () => {
101101 { connector ?. status . state === ConnectorState . RUNNING && (
102102 < ActionDropdownItem
103103 onClick = { stopConnectorHandler }
104- disabled = { isMutating }
105104 permission = { {
106105 resource : ResourceType . CONNECT ,
107106 action : Action . EDIT ,
@@ -115,7 +114,6 @@ const Actions: React.FC = () => {
115114 connector ?. status . state === ConnectorState . STOPPED ) && (
116115 < ActionDropdownItem
117116 onClick = { resumeConnectorHandler }
118- disabled = { isMutating }
119117 permission = { {
120118 resource : ResourceType . CONNECT ,
121119 action : Action . EDIT ,
@@ -127,7 +125,6 @@ const Actions: React.FC = () => {
127125 ) }
128126 < ActionDropdownItem
129127 onClick = { restartConnectorHandler }
130- disabled = { isMutating }
131128 permission = { {
132129 resource : ResourceType . CONNECT ,
133130 action : Action . RESTART ,
@@ -138,7 +135,6 @@ const Actions: React.FC = () => {
138135 </ ActionDropdownItem >
139136 < ActionDropdownItem
140137 onClick = { restartAllTasksHandler }
141- disabled = { isMutating }
142138 permission = { {
143139 resource : ResourceType . CONNECT ,
144140 action : Action . RESTART ,
@@ -149,7 +145,6 @@ const Actions: React.FC = () => {
149145 </ ActionDropdownItem >
150146 < ActionDropdownItem
151147 onClick = { restartFailedTasksHandler }
152- disabled = { isMutating }
153148 permission = { {
154149 resource : ResourceType . CONNECT ,
155150 action : Action . RESTART ,
@@ -176,7 +171,6 @@ const Actions: React.FC = () => {
176171 </ ActionDropdownItem >
177172 < ActionDropdownItem
178173 onClick = { deleteConnectorHandler }
179- disabled = { isMutating }
180174 danger
181175 permission = { {
182176 resource : ResourceType . CONNECT ,
0 commit comments