diff --git a/web/app/admin/sticker-packs/sticker-packs.component.html b/web/app/admin/sticker-packs/sticker-packs.component.html
index bd1cc19..4813629 100644
--- a/web/app/admin/sticker-packs/sticker-packs.component.html
+++ b/web/app/admin/sticker-packs/sticker-packs.component.html
@@ -52,9 +52,9 @@
-
-
-
+
+
+
diff --git a/web/app/admin/sticker-packs/sticker-packs.component.ts b/web/app/admin/sticker-packs/sticker-packs.component.ts
index 984b7a1..57f7bfb 100644
--- a/web/app/admin/sticker-packs/sticker-packs.component.ts
+++ b/web/app/admin/sticker-packs/sticker-packs.component.ts
@@ -72,11 +72,12 @@ export class AdminStickerPacksComponent implements OnInit {
public removePack(pack: FE_StickerPack) {
this.isUpdating = true;
this.adminStickers.removePack(pack.id).then(() => {
- for (let i = 0; i < this.packs.length; ++i)
+ for (let i = 0; i < this.packs.length; ++i) {
if (this.packs[i].id === pack.id) {
this.packs.splice(i, 1);
break;
}
+ }
this.isUpdating = false;
this.toaster.pop("success", "Sticker pack removed");
}).catch(err => {