mirror of
https://github.com/rustmailer/bichon.git
synced 2026-08-03 07:48:34 +02:00
refactor(workspace): decompose project into multiple crates
This commit is contained in:
@@ -55,7 +55,6 @@ export interface DashboardStats {
|
||||
top_largest_emails: LargestEmail[]; // Top 10 largest emails
|
||||
top_largest_attachments: LargestAttachment[]; // Top 10 largest attachments
|
||||
system_version: string, //The semantic version string of the currently running backend service
|
||||
commit_hash: string //Git commit hash used to build this system version
|
||||
}
|
||||
|
||||
export const INITIAL_DASHBOARD_STATS: DashboardStats = {
|
||||
@@ -71,8 +70,7 @@ export const INITIAL_DASHBOARD_STATS: DashboardStats = {
|
||||
without_attachment_count: 0,
|
||||
top_largest_emails: [],
|
||||
top_largest_attachments: [],
|
||||
system_version: '0.0.0',
|
||||
commit_hash: 'n/a'
|
||||
system_version: '0.0.0'
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -233,7 +233,6 @@ export default function MailArchiveDashboard() {
|
||||
</div>
|
||||
<div className="flex items-center gap-1.5 mt-1">
|
||||
<GithubIcon className="h-5 w-5 text-muted-foreground" />
|
||||
<p className="text-xs text-muted-foreground font-mono truncate">{stats1.commit_hash?.substring(0, 7) ?? 'N/A'}</p>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
@@ -267,7 +267,7 @@ export function UserProfileForm({ user }: UserProfileFormProps) {
|
||||
|
||||
{hasAccess && (
|
||||
<div className="space-y-4">
|
||||
<h2 className="text-sm font-semibold text-muted-foreground uppercase tracking-wider">
|
||||
<h2 className="text-xs font-semibold text-muted-foreground uppercase tracking-wider">
|
||||
{t('settings.profile.section.accounts', {
|
||||
count: accessibleAccountIds.length,
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user