From: Bastian Dehn Date: Sat, 2 Jul 2022 07:39:23 +0000 (+0200) Subject: change: rename drop method X-Git-Tag: v1.0.6^2~1 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=8f65d1a05358efbd1e655c061721ae1ba658b954;p=speisekarten-editor.git change: rename drop method --- diff --git a/src/app/subtitle/subtitle.component.html b/src/app/subtitle/subtitle.component.html index 5a84a23..db15700 100644 --- a/src/app/subtitle/subtitle.component.html +++ b/src/app/subtitle/subtitle.component.html @@ -1,6 +1,6 @@

{{subtitle.Subtitle}}

diff --git a/src/app/subtitle/subtitle.component.ts b/src/app/subtitle/subtitle.component.ts index 6a528db..c783d52 100644 --- a/src/app/subtitle/subtitle.component.ts +++ b/src/app/subtitle/subtitle.component.ts @@ -57,7 +57,7 @@ export class SubtitleComponent implements OnInit this.subtitle.Foods.splice(index, 1); } - public reorderList(event: CdkDragDrop) + public onDrop(event: CdkDragDrop) { if (event.previousContainer === event.container) { moveItemInArray(event.container.data,