Notification rework - Apprise v1 - working

This commit is contained in:
Jokob-sk committed 2023-10-08 14:52:22 +11:00
1 parent 79c47015f4
commit be4e0acdfc
11 files changed
+152 -182

No files matched your search

+5
View File
@@ -89,6 +89,11 @@ function processColumnValue(dbColumnDef, value, index, type) {
case 'label':
value = `<span>${value}<span>`;
break;
case 'textarea_readonly':
value = `<textarea cols="70" rows="3" wrap="off" readonly style="white-space: pre-wrap;">
${value.replace(/^b'(.*)'$/gm, '$1').replace(/\\n/g, '\n').replace(/\\r/g, '\r')}
</textarea>`;
break;
case 'textbox_save':
value = value == 'null' ? '' : value; // hide 'null' values