Skip to content

Commit

Permalink
Fix lint error & remove console.log that was added for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
simshaun committed Aug 31, 2024
1 parent 1c6caed commit 202b0c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/StatusPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
</div>
<Editable v-if="enableEditMode" v-model="config.footerText" tag="div" :contenteditable="enableEditMode" :noNL="false" class="alert-heading p-2" data-testid="custom-footer-editable" />
<!-- eslint-disable-next-line vue/no-v-html-->
<div v-if="! enableEditMode" class="alert-heading p-2" v-html="footerHTML" data-testid="footer-text"></div>
<div v-if="! enableEditMode" class="alert-heading p-2" data-testid="footer-text" v-html="footerHTML"></div>

<p v-if="config.showPoweredBy" data-testid="powered-by">
{{ $t("Powered by") }} <a target="_blank" rel="noopener noreferrer" href="https://github.com/louislam/uptime-kuma">{{ $t("Uptime Kuma" ) }}</a>
Expand Down Expand Up @@ -971,7 +971,6 @@ export default {
* @returns {void}
*/
postIncident() {
console.log('post');
if (this.incident.title === "" || this.incident.content === "") {
this.$root.toastError("Please input title and content");
return;
Expand Down

0 comments on commit 202b0c2

Please sign in to comment.