LP1934184 Vandelay Delete Queue action repair user/berick/lp1934184-vandelay-delete-queue-fix
authorBill Erickson <berickxx@gmail.com>
Tue, 3 Aug 2021 20:58:29 +0000 (16:58 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 3 Aug 2021 20:58:31 +0000 (16:58 -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>
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>