Skip to content

Commit

Permalink
Re-add total sizes for share profiles listed under "Browse own share..."
Browse files Browse the repository at this point in the history
  • Loading branch information
maksis committed Dec 18, 2024
1 parent 1f77d9f commit 0aa91b5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import ShareProfileDecorator, {

import * as API from 'types/api';
import * as UI from 'types/ui';
import { formatProfileNameWithSize } from 'utils/ShareProfileUtils';

interface ShareProfileSelectorProps {
// Callback after selecting a profile
Expand All @@ -30,7 +31,7 @@ class ShareProfileSelector extends Component<
key={profile.id}
onClick={() => this.props.onProfileChanged(profile.id)}
>
{profile.str}
{formatProfileNameWithSize(profile, this.props.sessionT.plainT)}
</MenuItemLink>
);
};
Expand Down

0 comments on commit 0aa91b5

Please sign in to comment.