Skip to content

Commit

Permalink
fix: DiscalimerBox isclosed table
Browse files Browse the repository at this point in the history
  • Loading branch information
AldemirLucas committed Aug 12, 2024
1 parent b8569f7 commit aa76ae6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions next/components/molecules/DataInformationQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ export default function DataInformationQuery({ resource }) {

async function SqlCodeString() {
const result = await getBigTableQuery(resource._id, checkedColumns, includeTranslation)
if(result === null) return
setSqlCode(result.trim())
setIsLoadingCode(false)
}
Expand Down Expand Up @@ -444,15 +445,6 @@ export default function DataInformationQuery({ resource }) {
</Skeleton>
}

{columnsTranslationPro.length > 0 && tabAccessIndex !== 1 &&
<AlertDiscalimerBox
display={isUserPro() ? "none" : "flex"}
type="info"
>
A tabela de tradução da{columnsTranslationPro.length > 1 && "s"} coluna{columnsTranslationPro.length > 1 && "s"} <Text as="span" fontWeight="500">{columnsTranslationPro.map((elm) => elm?.node?.name).join(", ")}</Text> é exclusiva para <Text as="a" href="/precos" target="_blank" color="#0068C5" _hover={{color: "#0057A4"}}>assinantes</Text>. Todos os demais códigos institucionais são de acesso aberto.
</AlertDiscalimerBox>
}

{insufficientChecks &&
<Skeleton
display={tabAccessIndex === 1 ? "none" : ""}
Expand Down

0 comments on commit aa76ae6

Please sign in to comment.