mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 16:27:46 +00:00
Hotfix: state updates for dashabord and service tokens
This commit is contained in:
@@ -577,7 +577,7 @@ export default function Dashboard() {
|
|||||||
<div className="mx-6 w-full pr-12">
|
<div className="mx-6 w-full pr-12">
|
||||||
<div className="flex flex-col max-w-5xl pb-1">
|
<div className="flex flex-col max-w-5xl pb-1">
|
||||||
<div className="w-full flex flex-row items-start">
|
<div className="w-full flex flex-row items-start">
|
||||||
{(!snapshotData || data?.length !== 0) && (
|
{(snapshotData || data?.length !== 0) && (
|
||||||
<>
|
<>
|
||||||
{!snapshotData
|
{!snapshotData
|
||||||
? <ListBox
|
? <ListBox
|
||||||
|
|||||||
@@ -227,11 +227,22 @@ export default function SettingsBasic() {
|
|||||||
<p className="text-xl font-semibold mb-3">
|
<p className="text-xl font-semibold mb-3">
|
||||||
{t("section-token:service-tokens")}
|
{t("section-token:service-tokens")}
|
||||||
</p>
|
</p>
|
||||||
<p className="text-base text-gray-400 mb-4">
|
<p className="text-sm text-gray-400">
|
||||||
{t("section-token:service-tokens-description")}
|
{t("section-token:service-tokens-description")}
|
||||||
</p>
|
</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>
|
||||||
<div className="w-48">
|
<div className="w-48 mt-2">
|
||||||
<Button
|
<Button
|
||||||
text={t("section-token:add-new")}
|
text={t("section-token:add-new")}
|
||||||
onButtonPressed={() => {
|
onButtonPressed={() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user