switch all FE to camelCase (#2576)

* switch all fe to camelCase

* switch to camelCase on backend

---------

Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
Matt Hill
2024-03-24 12:05:59 -06:00
committed by GitHub
parent b14646ebd9
commit c782bab296
173 changed files with 749 additions and 1901 deletions

View File

@@ -16,7 +16,7 @@
<!-- loaded -->
<ion-item-group *ngIf="server$ | async as server; else loading">
<ion-item
*ngIf="!server['ntp-synced']"
*ngIf="!server.ntpSynced"
color="warning"
class="ion-margin-bottom"
>
@@ -62,15 +62,15 @@
<!-- "Create Backup" button only -->
<p *ngIf="button.title === 'Create Backup'">
<ng-container *ngIf="server['status-info'] as statusInfo">
<ng-container *ngIf="server.statusInfo as statusInfo">
<ion-text
[color]="server['last-backup'] | backupColor"
*ngIf="!statusInfo['backup-progress'] && !statusInfo['update-progress']"
[color]="server.lastBackup | backupColor"
*ngIf="!statusInfo.backupProgress && !statusInfo.updateProgress"
>
Last Backup: {{ server['last-backup'] ? (server['last-backup'] |
date: 'medium') : 'never' }}
Last Backup: {{ server.lastBackup ? (server.lastBackup | date:
'medium') : 'never' }}
</ion-text>
<span *ngIf="!!statusInfo['backup-progress']" class="inline">
<span *ngIf="!!statusInfo.backupProgress" class="inline">
<ion-spinner
color="success"
style="height: 12px; width: 12px; margin-right: 6px"
@@ -82,7 +82,7 @@
<!-- "Software Update" button only -->
<p *ngIf="button.title === 'Software Update'">
<ion-text
*ngIf="server['status-info'].updated; else notUpdated"
*ngIf="server.statusInfo.updated; else notUpdated"
class="inline"
color="warning"
>