Skip to content

Commit 35251db

Browse files
committed
Move jupyter steer button to the left
1 parent 2c34b1d commit 35251db

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/ui/blackboard/jupyterhublet.jsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,6 +1163,16 @@ export class JupyterHublet extends Component {
11631163
}
11641164
/>
11651165
)}
1166+
{!master && this.props.makeAppletMaster && (
1167+
<AppletButton
1168+
icon={fiSteer}
1169+
key='controlbutton'
1170+
onClick={() => {
1171+
this.props.makeAppletMaster()
1172+
}}
1173+
tooltip='Steer applet state'
1174+
/>
1175+
)}
11661176
</div>
11671177
<div style={{ position: 'absolute', right: '0px', bottom: '0px' }}>
11681178
{!this.props.isnotepad && (
@@ -1198,16 +1208,6 @@ export class JupyterHublet extends Component {
11981208
}}
11991209
/>
12001210
)}
1201-
{!master && this.props.makeAppletMaster && (
1202-
<AppletButton
1203-
icon={fiSteer}
1204-
key='controlbutton'
1205-
onClick={() => {
1206-
this.props.makeAppletMaster()
1207-
}}
1208-
tooltip='Steer applet state'
1209-
/>
1210-
)}
12111211
{master &&
12121212
this.props.appids?.appid !== notebookEditPseudoAppid &&
12131213
this.props.screenShotSaver && (

0 commit comments

Comments
 (0)