core: fix token list's copy not working

This commit is contained in:
Jens Langhammer 2020-11-22 23:40:36 +01:00
parent d97b2bf503
commit 02d4118f73
2 changed files with 2 additions and 6 deletions

View File

@ -64,7 +64,7 @@
</button> </button>
<div slot="modal"></div> <div slot="modal"></div>
</pb-modal-button> </pb-modal-button>
<pb-token-copy-button identifier="{{ outpost.token_identifier }}"> <pb-token-copy-button identifier="{{ token.identifier }}">
{% trans 'Copy token' %} {% trans 'Copy token' %}
</pb-token-copy-button> </pb-token-copy-button>
</td> </td>

View File

@ -2,10 +2,6 @@
<div class="pf-c-card"> <div class="pf-c-card">
<div class="pf-c-card__header pf-c-title pf-m-md"> <div class="pf-c-card__header pf-c-title pf-m-md">
<h1>
<i class="pf-icon pf-icon-users"></i>
{% trans 'Manage Tokens' %}
</h1>
<p>{% trans "Tokens can be used to access passbook's API." %}</p> <p>{% trans "Tokens can be used to access passbook's API." %}</p>
</div> </div>
{% if object_list %} {% if object_list %}
@ -71,7 +67,7 @@
</button> </button>
<div slot="modal"></div> <div slot="modal"></div>
</pb-modal-button> </pb-modal-button>
<pb-token-copy-button identifier="{{ outpost.token_identifier }}"> <pb-token-copy-button identifier="{{ token.identifier }}">
{% trans 'Copy token' %} {% trans 'Copy token' %}
</pb-token-copy-button> </pb-token-copy-button>
</td> </td>