Skip to content

Commit 6743320

Browse files
author
Pavlo Kulyk
committed
fix: add missing spaces
1 parent 4c67998 commit 6743320

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adminforth/modules/restApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ export default class AdminForthRestAPI implements IAdminForthRestAPI {
382382
}
383383
const headers = response.getHeaders?.() || {};
384384
const clientIp = this.adminforth.auth.getClientIp(headers);
385-
const isPrivateIP = clientIp === null ? true :false;
385+
const isPrivateIP = clientIp === null ? true : false;
386386

387387
const publicPart = {
388388
brandName: this.adminforth.config.customization.brandName,

adminforth/spa/src/components/Sidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
</div>
5252
</div>
5353

54-
<div v-if="coreStore.config.defaultUserExists&&!coreStore.config.isPrivateIP" class="p-4 mb-4 text-white rounded-lg bg-red-700/80 fill-white text-sm">
54+
<div v-if="coreStore.config.defaultUserExists && !coreStore.config.isPrivateIP" class="p-4 mb-4 text-white rounded-lg bg-red-700/80 fill-white text-sm">
5555
<IconExclamationCircleOutline class="inline-block align-text-bottom mr-0,5 w-5 h-5" />
5656
Default user <strong>"adminforth"</strong> detected. Delete it and create your own account.
5757
</div>

0 commit comments

Comments
 (0)