use crates::PAGES.panel.sitekey.get_edit_easy to get edit route

This commit is contained in:
realaravinth 2021-12-18 16:41:30 +05:30
parent fa9762200e
commit 081cdcc803
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88

View file

@ -46,7 +46,7 @@ include!("./navbar/index.html"); .>
</td>
<td class="sitekey-list__key">
<div class="sitekey-list__edit">
<. let key = format!("/sitekey/{}", &sitekey.key); .>
<. let key = crate::PAGES.panel.sitekey.get_edit_easy(&sitekey.key) ;.>
<. include!("./sitekey/view/__edit-sitekey-icon.html"); .>
</div>
</td>