Skip to content

Commit

Permalink
Hotfix: state updates for dashabord and service tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
vmatsiiako committed Jan 5, 2023
1 parent 8ddccca commit 5a19f8e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/pages/dashboard/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export default function Dashboard() {
<div className="mx-6 w-full pr-12">
<div className="flex flex-col max-w-5xl pb-1">
<div className="w-full flex flex-row items-start">
{(!snapshotData || data?.length !== 0) && (
{(snapshotData || data?.length !== 0) && (
<>
{!snapshotData
? <ListBox
Expand Down
15 changes: 13 additions & 2 deletions frontend/pages/settings/project/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,22 @@ export default function SettingsBasic() {
<p className="text-xl font-semibold mb-3">
{t("section-token:service-tokens")}
</p>
<p className="text-base text-gray-400 mb-4">
<p className="text-sm text-gray-400">
{t("section-token:service-tokens-description")}
</p>
<p className="text-sm text-gray-400 mb-4">
Please, make sure you are on the
<a
className="text-primary underline underline-offset-2 ml-1"
href="https://infisical.com/docs/cli/overview"
target="_blank"
rel="noreferrer"
>
latest version of CLI
</a>.
</p>
</div>
<div className="w-48">
<div className="w-48 mt-2">
<Button
text={t("section-token:add-new")}
onButtonPressed={() => {
Expand Down

0 comments on commit 5a19f8e

Please sign in to comment.