Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion forms.go
Original file line number Diff line number Diff line change
Expand Up @@ -1874,7 +1874,7 @@ func GetJobSubDocTypes() ([]string, error) {
func GetProcessQualifiers() ([]string, error) {
processQualifiers = make([]string, 0)
cluster := GetConnection(GetCBCredentials())
query := "SELECT DISTINCT SPLIT(id, '':')[4] AS model_type FROM vxdata._default.RUNTIME WHERE docType = 'ingest' AND subType = 'MODEL';"
query := "SELECT DISTINCT SPLIT(id, ':')[4] AS model_type FROM vxdata._default.RUNTIME WHERE docType = 'ingest' AND subType = 'MODEL';"
result, err := cluster.Query(query, &gocb.QueryOptions{})
if err != nil {
return nil, err
Expand Down
11 changes: 3 additions & 8 deletions templates/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ <h5 id="jsonPreviewLabel" class="modal-title text-dark-blue">
></button>
</div>
<div class="modal-body h-50">
<div id="jsonPreviewContent" class="text-black"></div>
<div id="jsonPreviewContent" class="text-black" style="max-width: 100%;"></div>
</div>
<div class="modal-footer border-top-0">
<span id="jsonCommitError" class="text-danger me-auto d-none"></span>
Expand Down Expand Up @@ -299,7 +299,7 @@ <h5 id="jsonJobSetLabel" class="modal-title text-dark-blue">
></button>
</div>
<div class="modal-body h-50">
<div id="jsonJobSetContent" class="text-black d-block"></div>
<div id="jsonJobSetContent" class="text-black d-block" style="max-width: 100%;"></div>
</div>
<div class="modal-footer border-top-0">
<button type="button" class="btn btn-success" onclick="commitJobSet()">Commit</button>
Expand Down Expand Up @@ -331,12 +331,7 @@ <h5 id="retrieveModalLabel" class="modal-title text-dark-blue">
></button>
</div>
<div class="modal-body h-50">
<ul id="retrieveIdList" class="list-group" style="
max-height: 60vh;
overflow-y: auto;
width: max-content;
min-width: 200px;
"></ul>
<ul id="retrieveIdList" class="list-group w-100" style="overflow-y: auto;"></ul>
</div>
<div class="modal-footer border-top-0">
<button type="button" class="btn btn-secondary clear-retrieveModal" data-bs-dismiss="modal">Cancel</button>
Expand Down