mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Chore: indent system status code copy
This commit is contained in:
parent
cb160212d4
commit
c4f9828a10
@ -87,7 +87,7 @@ describe('SystemStatusDialogComponent', () => {
|
|||||||
jest.spyOn(clipboard, 'copy')
|
jest.spyOn(clipboard, 'copy')
|
||||||
component.copy()
|
component.copy()
|
||||||
expect(clipboard.copy).toHaveBeenCalledWith(
|
expect(clipboard.copy).toHaveBeenCalledWith(
|
||||||
JSON.stringify(component.status)
|
JSON.stringify(component.status, null, 4)
|
||||||
)
|
)
|
||||||
expect(component.copied).toBeTruthy()
|
expect(component.copied).toBeTruthy()
|
||||||
tick(3000)
|
tick(3000)
|
||||||
|
@ -28,7 +28,7 @@ export class SystemStatusDialogComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public copy() {
|
public copy() {
|
||||||
this.clipboard.copy(JSON.stringify(this.status))
|
this.clipboard.copy(JSON.stringify(this.status, null, 4))
|
||||||
this.copied = true
|
this.copied = true
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.copied = false
|
this.copied = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user