Fix visualization on values derived from secrets (#11843)

A very small fix to a small defect I noticed.

Before:
![image](https://github.com/user-attachments/assets/abb091bd-c626-44a2-9cd3-eddbe0e8c2cb)

After:
![image](https://github.com/user-attachments/assets/857f0e09-5960-4322-921b-c8c44e50789f)
This commit is contained in:
Radosław Waśko 2024-12-11 23:14:54 +01:00 committed by GitHub
parent c5ccc5a359
commit 44a8de337e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -220,6 +220,9 @@ type Derived_Secret_Value
to_text : Text
to_text self = as_hideable_value self . render
## PRIVATE
to_display_text self -> Text = self.to_text.to_display_text
## PRIVATE
If this value does not contains any secrets, it will be simplified to a
plain Text value, otherwise it will be returned as is.