Update index.html

This commit is contained in:
Tara Rostami 2024-03-15 03:57:46 +03:30 committed by GitHub
parent 0039f2bf60
commit 74856c689e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -298,7 +298,7 @@
</a-form-item>
<a-form-item style="float: right;">
<a-button type="primary" icon="download"
:href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs.join('\n'))" download="x-ui.log">
:href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs?.join('\n'))" download="x-ui.log">
</a-button>
</a-form-item>
</a-form>