mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-02 22:20:28 -04:00
fix: use pattern.id as title fallback
This commit is contained in:
@@ -29,7 +29,7 @@ export function PatternLabel({ pattern } /* : { pattern: Tables<'code'> } */) {
|
||||
if (!isNaN(date)) {
|
||||
title = date.toLocaleDateString();
|
||||
} else {
|
||||
title = 'unnamed';
|
||||
title = pattern.id || 'unnamed';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user