(
@@ -322,55 +400,33 @@ export class TaskPane extends Component {
onClick={dropdown.toggleDropdownVisible}
className="mr-flex mr-items-center mr-text-green-lighter mr-mr-4"
>
- {this.props.taskReadOnly ? (
-
- ) : (
-
- )}
+
)}
- dropdownContent={() =>
- this.props.taskReadOnly ? (
-
-
-
-
-
-
- ) : (
-
-
-
-
-
-
-
-
- )
- }
+ dropdownContent={() => (
+
+
+
+
+
+
+ )}
+ />
+ ) : (
+
)}
@@ -532,6 +588,50 @@ export class TaskPane extends Component {
}
/>
)}
+ {this.state.showLockOptionsDialog && (
+ }
+ prompt={}
+ icon="locked-icon"
+ onClose={() => this.closeLockOptionsDialog()}
+ controls={
+
+
+ {this.state.extendingLock ? (
+
+
+
+ ) : (
+
+ )}
+
+
+ }
+ />
+ )}
);
}