mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
a bunch of UI cleanup around backups as well as other bug fixes and UII improvements
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user