gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant-backoffice] branch master updated: use management api wh


From: gnunet
Subject: [taler-merchant-backoffice] branch master updated: use management api when updating instance details from default instance credentials
Date: Tue, 03 Aug 2021 17:58:19 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository merchant-backoffice.

The following commit(s) were added to refs/heads/master by this push:
     new 97f4b65  use management api when updating instance details from 
default instance credentials
97f4b65 is described below

commit 97f4b65116055265667e85636f27f79a02fb03d7
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Aug 3 12:53:23 2021 -0300

    use management api when updating instance details from default instance 
credentials
---
 packages/frontend/src/paths/admin/list/TableDeleted.tsx | 6 ++----
 packages/frontend/src/paths/admin/list/View.tsx         | 6 +++---
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/packages/frontend/src/paths/admin/list/TableDeleted.tsx 
b/packages/frontend/src/paths/admin/list/TableDeleted.tsx
index 95bfede..1726877 100644
--- a/packages/frontend/src/paths/admin/list/TableDeleted.tsx
+++ b/packages/frontend/src/paths/admin/list/TableDeleted.tsx
@@ -67,8 +67,7 @@ function Table({ instances, onPurge, setInstanceName }: 
TableProps): VNode {
       <table class="table is-fullwidth is-striped is-hoverable is-fullwidth">
         <thead>
           <tr>
-            <th class="is-checkbox-cell">
-            </th>
+            <th class="is-checkbox-cell" />
             <th><Translate>ID</Translate></th>
             <th><Translate>Name</Translate></th>
             <th />
@@ -77,8 +76,7 @@ function Table({ instances, onPurge, setInstanceName }: 
TableProps): VNode {
         <tbody>
           {instances.map(i => {
             return <tr key={i.id}>
-              <td class="is-checkbox-cell">
-              </td>
+              <td class="is-checkbox-cell" />
               <td><a href={`#/orders?instance=${i.id}`} onClick={(e) => {
                 setInstanceName(i.id);
               }}>{i.id}</a></td>
diff --git a/packages/frontend/src/paths/admin/list/View.tsx 
b/packages/frontend/src/paths/admin/list/View.tsx
index a5df3c4..d7f31ec 100644
--- a/packages/frontend/src/paths/admin/list/View.tsx
+++ b/packages/frontend/src/paths/admin/list/View.tsx
@@ -31,7 +31,7 @@ interface Props {
   onDelete: (id: MerchantBackend.Instances.Instance) => void;
   onPurge: (id: MerchantBackend.Instances.Instance) => void;
   selected?: boolean;
-  setInstanceName: (s:string) => void;
+  setInstanceName: (s: string) => void;
 }
 
 export function View({ instances, onCreate, onDelete, onPurge, onUpdate, 
setInstanceName, selected }: Props): VNode {
@@ -44,8 +44,8 @@ export function View({ instances, onCreate, onDelete, 
onPurge, onUpdate, setInst
     </section>
 
     {deletedInstances.length > 0 && <section class="section is-main-section">
-      <CardTableDeleted instances={deletedInstances} onPurge={onPurge} 
setInstanceName={setInstanceName}/>
-    </section> }
+      <CardTableDeleted instances={deletedInstances} onPurge={onPurge} 
setInstanceName={setInstanceName} />
+    </section>}
 
   </div >
 }
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]