mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Multiple scene URLs (#3852)
* Add URLs scene relationship * Update unit tests * Update scene edit and details pages * Update scrapers to use urls * Post-process scenes during query scrape * Update UI for URLs * Change urls label
This commit is contained in:
@@ -110,3 +110,11 @@ type UpdateStrings struct {
|
||||
Values []string `json:"values"`
|
||||
Mode RelationshipUpdateMode `json:"mode"`
|
||||
}
|
||||
|
||||
func (u *UpdateStrings) Strings() []string {
|
||||
if u == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
return u.Values
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user