owncloud / files_antivirus

:space_invader: virus scanner for ownCloud
GNU Affero General Public License v3.0
48 stars 30 forks source link

Hide config details about background scan if disabled #539

Closed prsnbrg closed 1 year ago

prsnbrg commented 1 year ago

Fix #531

phil-davis commented 1 year ago

works in real-time.

But when I browse away from the page and come back to it, the details about background scan are displayed:

Screenshot 2023-05-16 at 11-37-39 Settings - ownCloud

There is still something needed to initialize the correct show/hide when the page is first rendered.

prsnbrg commented 1 year ago

@phil-davis please review. I fixed the missing status of show/hide on initalization

prsnbrg commented 1 year ago

@phil-davis @jnweiger Please review and if possible include this in the current release.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication