<context context-type="linenumber">183</context>
</context-group>
</trans-unit>
- <trans-unit id="2541368547549828690" datatype="html">
- <source>Successfully updated <x id="PH" equiv-text="this.typeName"/>.</source>
+ <trans-unit id="4835942264662718903" datatype="html">
+ <source>Successfully updated <x id="PH" equiv-text="this.typeName"/> "<x id="PH_1" equiv-text="object.name"/>".</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/manage/management-list/management-list.component.ts</context>
<context context-type="linenumber">198</context>
MATCHING_ALGORITHMS,
MatchingModel,
} from 'src/app/data/matching-model'
-import { ObjectWithId } from 'src/app/data/object-with-id'
import { ObjectWithPermissions } from 'src/app/data/object-with-permissions'
import {
SortableDirective,
}
@Directive()
-export abstract class ManagementListComponent<T extends ObjectWithId>
+export abstract class ManagementListComponent<T extends MatchingModel>
extends LoadingComponentWithPermissions
implements OnInit, OnDestroy
{
activeModal.componentInstance.succeeded.subscribe(() => {
this.reloadData()
this.toastService.showInfo(
- $localize`Successfully updated ${this.typeName}.`
+ $localize`Successfully updated ${this.typeName} "${object.name}".`
)
})
activeModal.componentInstance.failed.subscribe((e) => {
abstract getDeleteMessage(object: T)
- filterDocuments(object: ObjectWithId) {
+ filterDocuments(object: MatchingModel) {
this.documentListViewService.quickFilter([
{ rule_type: this.filterRuleType, value: object.id.toString() },
])