mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-24 04:12:32 +08:00
settings: add a clarifying label if running as elevated (#1330)
This commit is contained in:
parent
e21f83267a
commit
883bbf102a
@ -133,6 +133,9 @@ export class GeneralSettings extends React.Component <any, any> {
|
|||||||
ref={(input) => {this.startup_reference=input;}}
|
ref={(input) => {this.startup_reference=input;}}
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
|
{this.state.settings.general.is_elevated && (<Label>Currently running as administrator</Label>)}
|
||||||
|
|
||||||
{this.state.settings.general.is_admin &&
|
{this.state.settings.general.is_admin &&
|
||||||
(<BoolToggleSettingsControl
|
(<BoolToggleSettingsControl
|
||||||
setting={{display_name: 'Always run as administrator', value: this.state.settings.general.run_elevated}}
|
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
Loading…
Reference in New Issue
Block a user