mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 16:52:56 -07:00
Removed the trace option from the UI, it is only accessible when appending the url with "?developer" #753
This commit is contained in:
parent
b3d1fbda9b
commit
662588b709
2 changed files with 8 additions and 2 deletions
|
@ -742,7 +742,10 @@ namespace PlexRequests.UI.Modules
|
|||
|
||||
private Negotiator Logs()
|
||||
{
|
||||
return View["Logs"];
|
||||
var model = false;
|
||||
if (Request.Query["developer"] != null)
|
||||
model = true;
|
||||
return View["Logs", model];
|
||||
}
|
||||
|
||||
private Response LoadLogs()
|
||||
|
|
|
@ -21,7 +21,10 @@
|
|||
<label for="logLevel" class="control-label">Log Level</label>
|
||||
<div id="logLevel">
|
||||
<select class="form-control" id="selected">
|
||||
@if (Model)
|
||||
{
|
||||
<option id="Trace" value="0">Trace</option>
|
||||
}
|
||||
<option id="Debug" value="1">Debug</option>
|
||||
<option id="Info" value="2">Info</option>
|
||||
<option id="Warn" value="3">Warn</option>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue