a bunch of UI cleanup around backups as well as other bug fixes and UII improvements

This commit is contained in:
Matt Hill
2026-03-21 16:32:46 -06:00
parent 8b65490d0e
commit bdfa918a33
29 changed files with 446 additions and 311 deletions

View File

@@ -169,7 +169,7 @@ export class DevicesAdd {
})
this.dialogs
.open(DEVICES_CONFIG, { data: config, closable: false })
.open(DEVICES_CONFIG, { data: config, closable: false, size: 'm' })
.subscribe()
}
} catch (e: any) {

View File

@@ -22,7 +22,7 @@ import { QrCodeComponent } from 'ng-qrcode'
</tui-segmented>
</aside>
</header>
@if (segmented?.activeItemIndex) {
@if (segmented?.activeItemIndex()) {
<qr-code [value]="config" size="352" />
} @else {
<tui-textfield>

View File

@@ -159,7 +159,9 @@ export default class Devices {
try {
const data = await this.api.showDeviceConfig({ subnet: subnet.range, ip })
this.dialogs.open(DEVICES_CONFIG, { data, closable: false }).subscribe()
this.dialogs
.open(DEVICES_CONFIG, { data, closable: false, size: 'm' })
.subscribe()
} catch (e: any) {
console.log(e)
this.errorService.handleError(e)