Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions frontend/src/pages/DashboardPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,3 +376,5 @@ const DashboardPage: React.FC = () => {
};

export default DashboardPage;

.catch(err => console.error("Promise.all failed:", err));
2 changes: 1 addition & 1 deletion frontend/src/pages/OrganizationPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const OrganizationPage: React.FC = () => {
// Create a placeholder organization object
// ProfileManager will fetch actual data
const organization: Organization = {
id: parseInt(id || '0'),
id: parseInt(id || '0', 10),
category: categoryId,
name: '', // Will be loaded by ProfileManager
logo_url: null,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/services/securityService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export const FORBIDDEN_SHORTCUTS: string[][] = [
* Check if a key combination is a forbidden browser shortcut
*/
export function isForbiddenShortcut(keys: string[]): boolean {
const normalizedKeys = keys.map(k => k.toLowerCase()).sort();
const normalizedKeys = keys.map(k => k.toLowerCase()).sort((a, b) => a - b);

return FORBIDDEN_SHORTCUTS.some(forbidden => {
const normalizedForbidden = forbidden.map(k => k.toLowerCase()).sort();
Expand Down