mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
settings: add a clarifying label if running as elevated (#1330)
This commit is contained in:
@@ -133,6 +133,9 @@ export class GeneralSettings extends React.Component <any, any> {
|
||||
ref={(input) => {this.startup_reference=input;}}
|
||||
/>
|
||||
</Stack>
|
||||
|
||||
{this.state.settings.general.is_elevated && (<Label>Currently running as administrator</Label>)}
|
||||
|
||||
{this.state.settings.general.is_admin &&
|
||||
(<BoolToggleSettingsControl
|
||||
setting={{display_name: 'Always run as administrator', value: this.state.settings.general.run_elevated}}
|
||||
|
||||
2
src/settings/settings-html/dist/bundle.js
vendored
2
src/settings/settings-html/dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user