diff --git a/data/web/js/mailbox.js b/data/web/js/mailbox.js index 4e6b303d..118cd1d0 100644 --- a/data/web/js/mailbox.js +++ b/data/web/js/mailbox.js @@ -219,13 +219,16 @@ $(document).ready(function() { }, success: function (data) { $.each(data, function (i, item) { - if (item.is_catch_all == 1) { - item.address = '
Catch-All
' + item.address; - } item.action = '
' + ' ' + lang.edit + '' + ' ' + lang.remove + '' + '
'; + if (item.is_catch_all == 1) { + item.address = '
Catch-All
' + item.address; + } + if (item.in_primary_domain !== "") { + item.domain = "↳ " + item.domain + " (" + item.in_primary_domain + ")"; + } }); $('#alias_table').footable({ "columns": [