mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fix for clearing api-token-list in adminpanel on refresh
This commit is contained in:
@@ -17,7 +17,7 @@ $(document).on("click", "#refresh_all", function(e){
|
||||
e.preventDefault();
|
||||
$("#descriptions_cont").empty();
|
||||
$("#thumbnails_cont").empty();
|
||||
$("#api_token_name").remove();
|
||||
$(".api_token_container").remove();
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "/api/api_token",
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
Limit
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" id="api_token_list">
|
||||
<div class="row api_token_container" id="api_token_list">
|
||||
<div class="col s3 api_token_name truncate">
|
||||
</div>
|
||||
<div class="col s3 api_token_usage">
|
||||
|
||||
Reference in New Issue
Block a user