Răsfoiți Sursa

feat(payments-plugin): Removed ui for now

Martijn 1 an în urmă
părinte
comite
3dfd0ba38f
2 a modificat fișierele cu 303 adăugiri și 319 ștergeri
  1. 0 19
      packages/payments-plugin/src/mollie/ui/providers.ts
  2. 303 300
      yarn.lock

+ 0 - 19
packages/payments-plugin/src/mollie/ui/providers.ts

@@ -1,19 +0,0 @@
-import { addActionBarDropdownMenuItem } from '@vendure/admin-ui/core';
-
-export default [
-    addActionBarDropdownMenuItem({
-        id: 'print-invoice',
-        locationId: 'order-detail',
-        label: 'Get Payment Link',
-        icon: 'euro',
-        buttonState: context => {
-            return context.entity$.pipe(
-                map((order) => {
-                    return (order?.state === 'ArrangingPayment' ?? order?.state === 'AddingItems')
-                        ? { disabled: false, visible: true }
-                        : { disabled: true, visible: true };
-                }),
-            );
-        },
-    }),
-];

Fișier diff suprimat deoarece este prea mare
+ 303 - 300
yarn.lock


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff