LP1934184 Vandelay Delete Queue action repair
authorBill Erickson <berickxx@gmail.com>
Tue, 3 Aug 2021 20:58:29 +0000 (16:58 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 12 Aug 2021 18:59:35 +0000 (14:59 -0400)
Fixes the Queue Details page Delete Queue link.  Before it did nothing,
now it prompts the user to confirm deletion followed by deleting the
queue (when confirmed).

To test, go to Cataloging => MARC Batch Import/Export => Inspect Queue
=> Double-click a queue => Click Delete Queue (under Queue Actions) and
confirm that the confirmation dialog appears and deletion works.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/cat/vandelay/queue.component.html

index 480e554..eb1a24f 100644 (file)
@@ -83,7 +83,7 @@
                 </a>
               </div>
               <div class="flex-1">
-                <a [routerLink]="" (click)="deleteQueue()" i18n>Delete Queue</a>
+                <a href="javascript:;" (click)="deleteQueue()" i18n>Delete Queue</a>
               </div>
             </div>
           </li>