mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Make phash a link to duplicates (#2154)
This commit is contained in:
committed by
GitHub
parent
523edfb575
commit
deb5a2958d
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import { FormattedMessage, FormattedNumber, useIntl } from "react-intl";
|
||||
import * as GQL from "src/core/generated-graphql";
|
||||
import { TextUtils } from "src/utils";
|
||||
import { NavUtils, TextUtils } from "src/utils";
|
||||
import { TextField, URLField } from "src/utils/field";
|
||||
|
||||
interface ISceneFileInfoPanelProps {
|
||||
@@ -104,11 +104,14 @@ export const SceneFileInfoPanel: React.FC<ISceneFileInfoPanelProps> = (
|
||||
value={props.scene.checksum}
|
||||
truncate
|
||||
/>
|
||||
<TextField
|
||||
<URLField
|
||||
id="media_info.phash"
|
||||
abbr="Perceptual hash"
|
||||
value={props.scene.phash}
|
||||
url={NavUtils.makeScenesPHashMatchUrl(props.scene.phash)}
|
||||
target="_self"
|
||||
truncate
|
||||
trusted
|
||||
/>
|
||||
<URLField
|
||||
id="path"
|
||||
|
||||
Reference in New Issue
Block a user