console: rename Generated SQL to Generated Query

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10635
GitOrigin-RevId: be61485061bd73ac81e96f9360a4d1807e237dbc
This commit is contained in:
Vijay Prasanna 2024-01-26 19:03:01 +05:30 committed by hasura-bot
parent 4bed94b01f
commit 25472daa8a
3 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ export default class QueryAnalyser extends React.Component {
<div className="w-full">
<div className="p-md pt-0">
<div className="text-[#767e93] font-bold py-sm">
Generated SQL
Generated Query
</div>
<div className="w-full overflow-y-scroll h-[calc(30vh)] mb-sm">
<Button

View File

@ -243,7 +243,7 @@ const Modal = props => {
<div className="rounded bg-white text-sm">
<CustomCopy
label={
<LabelValue className="inline-block" label="Generated SQL" />
<LabelValue className="inline-block" label="Generated Query" />
}
copy={JSON.stringify(generatedSql, null, 2)}
displayColon={false}

View File

@ -63,7 +63,7 @@ const Modal = props => {
const renderGeneratedSql = () => {
if (generatedSql) {
try {
return <CustomCopy label={'GENERATED SQL'} copy={generatedSql} />;
return <CustomCopy label={'GENERATED QUERY'} copy={generatedSql} />;
} catch (e) {
console.error(e);
}