diff --git a/app/renderer/services/categorizer-service.ts b/app/renderer/services/categorizer-service.ts index 1e070d4f..0c7dd67a 100644 --- a/app/renderer/services/categorizer-service.ts +++ b/app/renderer/services/categorizer-service.ts @@ -162,7 +162,7 @@ export class CategorizerService extends Eventable { new Categorizer( { _id: id, - name: object.name, + name: object.name.split("/").pop(), color, }, false diff --git a/app/renderer/services/smartfilter-service.ts b/app/renderer/services/smartfilter-service.ts index 96e201fc..c83ff2da 100644 --- a/app/renderer/services/smartfilter-service.ts +++ b/app/renderer/services/smartfilter-service.ts @@ -142,7 +142,7 @@ export class SmartFilterService extends Eventable { new PaperSmartFilter( { _id: id, - name: object.name, + name: object.name.split("/").pop(), filter: object.filter, color, },