Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3742530
D2563.id6475.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
972 B
Referenced Files
None
Subscribers
None
D2563.id6475.diff
View Options
diff --git a/src/assets/js/salt-config.js b/src/assets/js/salt-config.js
--- a/src/assets/js/salt-config.js
+++ b/src/assets/js/salt-config.js
@@ -213,6 +213,10 @@
// roles/core/rc/files/periodic.conf
dump: function (data) {
+ if (data === null) {
+ return `<span class="null">NULL</span>`
+ }
+
if (typeof data === "string" && data.startsWith("salt://")) {
return this.resolveSaltLink(data)
}
diff --git a/src/assets/scss/components/_salt-config.scss b/src/assets/scss/components/_salt-config.scss
--- a/src/assets/scss/components/_salt-config.scss
+++ b/src/assets/scss/components/_salt-config.scss
@@ -127,11 +127,15 @@
}
- .config-error {
+ .config-error, .null {
color: $warning-color;
font-weight: bold;
}
+ .null::before {
+ content: "∅ ";
+ }
+
.config-error::before {
content: "🔥 ";
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 15, 07:51 (3 h, 38 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2246214
Default Alt Text
D2563.id6475.diff (972 B)
Attached To
Mode
D2563: Handle NULL value
Attached
Detach File
Event Timeline
Log In to Comment