Desactivation du bouton « comparer » lors qu'on n'a pas au moins deux ans de données #3916
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #3892
![image](https://private-user-images.githubusercontent.com/1225929/330118054-e341ab03-7be8-477a-84ff-f5e397622a32.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyOTY5ODksIm5iZiI6MTcyMDI5NjY4OSwicGF0aCI6Ii8xMjI1OTI5LzMzMDExODA1NC1lMzQxYWIwMy03YmU4LTQ3N2EtODRmZi1mNWUzOTc2MjJhMzIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDZUMjAxMTI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDczYTRlOTcyYzYzMzgwY2VjM2I4Y2Y4YTE0ZTcxMzYyOGI2MWU0ZDZhYWJmNWVlNGNjZGIxOWUxMDI4M2QzZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.11-XNnxo3D417eN-46d1Ul9gAC44_o1wcDDvteTfqew)
Lors qu'on a seulement un an de données :
Lors qu'on a au moins deux ans de données :
![image](https://private-user-images.githubusercontent.com/1225929/330117903-c1bee50e-205d-42a6-8cfd-959ef6da0186.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyOTY5ODksIm5iZiI6MTcyMDI5NjY4OSwicGF0aCI6Ii8xMjI1OTI5LzMzMDExNzkwMy1jMWJlZTUwZS0yMDVkLTQyYTYtOGNmZC05NTllZjZkYTAxODYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDZUMjAxMTI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGI0ZTAwZTgxMjljZDYxN2JlZWY3YzJkNjI2YjIwY2U1M2ZkMTAxYzc3NGEyOTJlMTVmOGQ0ZjJjNTBmZjAwMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Kpkyf2k0VlccQ0C_c_f4GMuI-0Z2lYj5R93ifw918eI)