core: fix token list's copy not working
This commit is contained in:
parent
d97b2bf503
commit
02d4118f73
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Reference in New Issue