Skip to content

Commit

Permalink
fix: name repeating bug when colorize folders (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffreyChen777 authored Jun 2, 2024
1 parent 1b3ad3c commit 376fc17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/renderer/services/categorizer-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class CategorizerService extends Eventable<ICategorizerServiceState> {
new Categorizer(
{
_id: id,
name: object.name,
name: object.name.split("/").pop(),
color,
},
false
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/services/smartfilter-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class SmartFilterService extends Eventable<ISmartFilterServiceState> {
new PaperSmartFilter(
{
_id: id,
name: object.name,
name: object.name.split("/").pop(),
filter: object.filter,
color,
},
Expand Down

0 comments on commit 376fc17

Please sign in to comment.