Skip to content

Commit

Permalink
Merge branch 'Stash4DeoVR-Main' of https://github.com/philpw99/stash4…
Browse files Browse the repository at this point in the history
…deovr into Stash4DeoVR-Main
  • Loading branch information
philpw99 committed May 2, 2024
2 parents 4375914 + d8b435e commit 4f631db
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/file/clean.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type cleanJob struct {
options CleanOptions
}

// ScanOptions provides options for scanning files.
// CleanOptions provides options for scanning files.
type CleanOptions struct {
Paths []string

Expand Down
2 changes: 1 addition & 1 deletion pkg/models/repository_blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package models

import "context"

// FileGetter provides methods to get files by ID.
// BlobReader provides methods to get files by ID.
type BlobReader interface {
EntryExists(ctx context.Context, checksum string) (bool, error)
}
2 changes: 1 addition & 1 deletion pkg/models/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func NewOptionalBoolPtr(v *bool) OptionalBool {
return OptionalBool{*v, false, true}
}

// OptionalBool represents an optional float64 argument that may be null. See OptionalString.
// OptionalFloat64 represents an optional float64 argument that may be null. See OptionalString.
type OptionalFloat64 struct {
Value float64
Null bool
Expand Down
2 changes: 1 addition & 1 deletion ui/v2.5/src/components/Tagger/scenes/StashSearchResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ export const SceneSearchResults: React.FC<ISceneSearchResults> = ({

useEffect(() => {
// #3198 - if the selected result is no longer in the list, reset it
if (selectedResult && scenes?.length <= selectedResult) {
if (!selectedResult || scenes?.length <= selectedResult) {
if (!scenes) {
setSelectedResult(undefined);
} else if (scenes.length > 0 && scenes[0].resolved) {
Expand Down

0 comments on commit 4f631db

Please sign in to comment.