Fixed issue with Web command mode auto-complete.

This commit is contained in:
Jared Goodwin 2019-03-25 12:58:33 -07:00
parent bffedb695d
commit 85b8b99f98
6 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@ namespace Remotely_Library.Models
[Display(Name = "Web Shortcut")]
[StringLength(10)]
public string CommandModeShortcutRemotely { get; set; } = "/web";
public string CommandModeShortcutWeb { get; set; } = "/web";
[Display(Name = "PS Core Shortcut")]
[StringLength(10)]
public string CommandModeShortcutPSCore { get; set; } = "/pscore";

View File

@ -32,11 +32,11 @@
</div>
<div class="form-group">
<label asp-for="Options.CommandModeShortcutRemotely" class="control-label"></label>
<label asp-for="Options.CommandModeShortcutWeb" class="control-label"></label>
<br />
<input asp-for="Options.CommandModeShortcutRemotely" class="form-control" />
<input asp-for="Options.CommandModeShortcutWeb" class="form-control" />
<br />
<span asp-validation-for="Options.CommandModeShortcutRemotely"></span>
<span asp-validation-for="Options.CommandModeShortcutWeb"></span>
</div>
<div class="form-group">
<label asp-for="Options.CommandModeShortcutPSCore" class="control-label"></label>

View File

@ -1 +1 @@
2019.03.25.1026
2019.03.25.1255

View File

@ -60,7 +60,7 @@ export function GetRelevantCommandText(commandText) {
export function GetCommandModeShortcut() {
switch (UI.ConsoleTextArea.value.toLowerCase()) {
case UserSettings.CommandModeShortcuts.Web:
return "Remotely";
return "Web";
case UserSettings.CommandModeShortcuts.CMD:
return "CMD";
case UserSettings.CommandModeShortcuts.PSCore:

File diff suppressed because one or more lines are too long

View File

@ -64,7 +64,7 @@ export function GetRelevantCommandText(commandText:string) {
export function GetCommandModeShortcut() {
switch (UI.ConsoleTextArea.value.toLowerCase()) {
case UserSettings.CommandModeShortcuts.Web:
return "Remotely";
return "Web";
case UserSettings.CommandModeShortcuts.CMD:
return "CMD";
case UserSettings.CommandModeShortcuts.PSCore: