mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 07:52:10 +01:00
Update app/dashboard/company/page.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@ -27,6 +27,9 @@ export default function CompanySettingsPage() {
|
||||
setCsvUrl(data.company.csvUrl || "");
|
||||
setCsvUsername(data.company.csvUsername || "");
|
||||
setSentimentThreshold(data.company.sentimentAlert?.toString() || "");
|
||||
if (data.company.csvPassword) {
|
||||
setCsvPassword(data.company.csvPassword);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("Failed to fetch company settings:", error);
|
||||
setMessage("Failed to load company settings.");
|
||||
|
||||
Reference in New Issue
Block a user