Skip to content

Commit

Permalink
fix: remove unused titleProvider attribute
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
  • Loading branch information
aonnikov committed Apr 15, 2024
1 parent 7b40815 commit c190f86
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion models/chunter/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ export class TChatMessageViewlet extends TDoc implements ChatMessageViewlet {
@Mixin(chunter.mixin.ObjectChatPanel, core.class.Class)
export class TObjectChatPanel extends TClass implements ObjectChatPanel {
ignoreKeys!: string[]
titleProvider!: Resource<(object: Doc) => string>
}

const actionTemplates = template({
Expand Down
3 changes: 1 addition & 2 deletions models/tracker/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ function defineFilters (builder: Builder): void {
'description',
'remainingTime',
'reportedTime'
],
titleProvider: tracker.function.IssueChatTitleProvider
]
})

//
Expand Down
1 change: 0 additions & 1 deletion plugins/chunter/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ export interface DirectMessageInput extends Class<Doc> {
*/
export interface ObjectChatPanel extends Class<Doc> {
ignoreKeys: string[]
titleProvider: Resource<(object: Doc) => string>
}

/**
Expand Down

0 comments on commit c190f86

Please sign in to comment.