Skip to content

Commit ef63576

Browse files
authored
bug: Remove lastUpdated timestamp and change CheckCircle icon color (#2290)
Remove lastUpdated timestamp and change CheckCircle icon color
1 parent efb4892 commit ef63576

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

web/src/components/wizard/InstallationStep.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ interface InstallStatus {
1414
}
1515

1616
const InstallationStep: React.FC = () => {
17-
const { config } = useConfig();
17+
const { config, prototypeSettings } = useConfig();
1818
const { text } = useWizardMode();
1919
const [showAdminLink, setShowAdminLink] = useState(false);
2020
const [error, setError] = useState<string | null>(null);
2121
const [isLoading, setIsLoading] = useState(true);
2222
const { token } = useAuth();
23+
const themeColor = prototypeSettings.themeColor
2324

2425
const { data: installStatus } = useQuery<InstallStatus, Error>({
2526
queryKey: ["installStatus"],
@@ -73,11 +74,6 @@ const InstallationStep: React.FC = () => {
7374
<p className="text-lg font-medium text-gray-900">Please wait while we complete the installation...</p>
7475
<p className="text-sm text-gray-500 mt-2">This may take a few minutes.</p>
7576
{installStatus?.description && <p className="text-sm text-gray-500 mt-2">{installStatus.description}</p>}
76-
{installStatus?.lastUpdated && (
77-
<p className="text-xs text-gray-400 mt-1">
78-
Last updated: {new Date(installStatus.lastUpdated).toLocaleString()}
79-
</p>
80-
)}
8177
</div>
8278
)}
8379

@@ -91,7 +87,7 @@ const InstallationStep: React.FC = () => {
9187
{showAdminLink && (
9288
<div className="flex flex-col items-center justify-center mb-6">
9389
<div className="w-16 h-16 rounded-full flex items-center justify-center mb-6">
94-
<CheckCircle className="w-10 h-10" style={{ color: "blue" }} />
90+
<CheckCircle className="w-10 h-10" style={{ color: themeColor }}/>
9591
</div>
9692
<p className="text-gray-600 mt-4">
9793
Visit the Admin Console to configure and install {text.installationTitle}

0 commit comments

Comments
 (0)