favorite & view page & etc.
This commit is contained in:
@ -80,6 +80,8 @@ namespace Gallery.Util.Model
|
||||
[JsonProperty]
|
||||
public string Source { get; set; }
|
||||
[JsonProperty]
|
||||
public string SourceUrl { get; set; }
|
||||
[JsonProperty]
|
||||
public string PreviewUrl { get; set; }
|
||||
[JsonProperty]
|
||||
public string RawUrl { get; set; }
|
||||
@ -124,7 +126,7 @@ namespace Gallery.Util.Model
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
var source = string.IsNullOrEmpty(Source) ? RawUrl : Source;
|
||||
var source = string.IsNullOrEmpty(SourceUrl) ? RawUrl : SourceUrl;
|
||||
return $"{Id}, {source}";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user