From ccb12a6c84c1206ea7935d424abf363b67605c7b Mon Sep 17 00:00:00 2001 From: Nick Telfer Date: Thu, 18 Oct 2018 13:13:56 -0600 Subject: [PATCH] fixed otp data not displaying on the frontend. --- src/didery/static/transcrypt/components/tables.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/didery/static/transcrypt/components/tables.py b/src/didery/static/transcrypt/components/tables.py index 8507c56..788a5a9 100644 --- a/src/didery/static/transcrypt/components/tables.py +++ b/src/didery/static/transcrypt/components/tables.py @@ -422,9 +422,9 @@ def _getField(self, obj, field): """ if field.name == "did": - return obj.id + return obj.otp_data.id elif field.name == "blob": - return obj.blob + return obj.otp_data.blob # ================================================== # @@ -487,4 +487,4 @@ def _getField(self, obj, field): # ================================================== # # EOF # -# ================================================== # \ No newline at end of file +# ================================================== #