mirror of
https://github.com/enso-org/enso.git
synced 2024-12-19 07:02:04 +03:00
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:
parent
c5ccc5a359
commit
44a8de337e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user