1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

feat(network): new network view

This commit is contained in:
Anthony Lapenna 2016-09-14 17:48:20 +12:00
parent c20069fce0
commit 7c8881f37d
3 changed files with 43 additions and 111 deletions

View file

@ -191,4 +191,10 @@ angular.module('portainer.filters', [])
return function (obj) {
return _.isEmpty(obj);
};
})
.filter('ipaddress', function () {
'use strict';
return function (ip) {
return ip.slice(0, ip.indexOf('/'));
};
});