* feat: 🎸 Update hotkeys and user preferences modal This feature fix incompatibility with existent hotkeys component and adds user preferences modal back Closes: #923 * Update preferences structure in store * Hide window level section of user preferences * Update modal to reflect current hotkey value * Clone object with hotkeys before passing to manager * CR Update: Extract hotkeys manager format code to manager * Fix broken cypress test * Use new modal provider * Rename hotkeyDefinitions in hotkeyspreferences and use array as representation * Update study test and remove unused styles
18 lines
434 B
JavaScript
18 lines
434 B
JavaScript
import React, { Component } from 'react';
|
|
import LanguageSwitcher from '../languageSwitcher';
|
|
|
|
export class GeneralPreferences extends Component {
|
|
render() {
|
|
return (
|
|
<div className="general-preferences-wrapper">
|
|
<div className="col-sm-3">
|
|
<label htmlFor="language-select" className="p-r-1">
|
|
Language
|
|
</label>
|
|
<LanguageSwitcher />
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
}
|