]> git.proxmox.com Git - proxmox-backup.git/blobdiff - www/Utils.js
gui: add snapshot/file fingerprint tooltip
[proxmox-backup.git] / www / Utils.js
index ab48bdcf1070a634211fc7ec937482644173d742..775c03d772de0975ef62f5a0e2bb5241eb61618c 100644 (file)
@@ -161,6 +161,11 @@ Ext.define('PBS.Utils', {
        return `Datastore ${what} ${id}`;
     },
 
+    // mimics Display trait in backend
+    renderKeyID: function(fingerprint) {
+       return fingerprint.substring(0, 23);
+    },
+
     parse_datastore_worker_id: function(type, id) {
        let result;
        let res;