aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src')
-rw-r--r--webui/src/pages/bug/MessageHistory.graphql (renamed from webui/src/pages/bug/MessageEditHistory.graphql)2
-rw-r--r--webui/src/pages/bug/MessageHistoryDialog.tsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/webui/src/pages/bug/MessageEditHistory.graphql b/webui/src/pages/bug/MessageHistory.graphql
index 6fde8d45..e90eb459 100644
--- a/webui/src/pages/bug/MessageEditHistory.graphql
+++ b/webui/src/pages/bug/MessageHistory.graphql
@@ -1,7 +1,7 @@
#import "./MessageCommentFragment.graphql"
#import "./MessageCreateFragment.graphql"
-query MessageEditHistory($bugIdPrefix: String!) {
+query MessageHistory($bugIdPrefix: String!) {
repository {
bug(prefix: $bugIdPrefix) {
timeline {
diff --git a/webui/src/pages/bug/MessageHistoryDialog.tsx b/webui/src/pages/bug/MessageHistoryDialog.tsx
index c49ac661..9857f272 100644
--- a/webui/src/pages/bug/MessageHistoryDialog.tsx
+++ b/webui/src/pages/bug/MessageHistoryDialog.tsx
@@ -23,7 +23,7 @@ import CloseIcon from '@material-ui/icons/Close';
import { AddCommentFragment } from './MessageCommentFragment.generated';
import { CreateFragment } from './MessageCreateFragment.generated';
-import { useMessageEditHistoryQuery } from './MessageEditHistory.generated';
+import { useMessageHistoryQuery } from './MessageHistory.generated';
const styles = (theme: Theme) =>
createStyles({
@@ -120,7 +120,7 @@ type Props = {
function MessageHistoryDialog({ bugId, commentId, open, onClose }: Props) {
const [expanded, setExpanded] = React.useState<string | false>('panel0');
- const { loading, error, data } = useMessageEditHistoryQuery({
+ const { loading, error, data } = useMessageHistoryQuery({
variables: { bugIdPrefix: bugId },
});
if (loading) {