mirror of
https://github.com/portainer/portainer.git
synced 2025-07-31 03:09:44 +02:00
chore(deps): upgrade eslint and use eslint-plugin (#4989)
This commit is contained in:
parent
5fd92d8a3f
commit
ab30793c48
12 changed files with 789 additions and 689 deletions
|
@ -133,7 +133,7 @@ angular.module('portainer.docker').factory('ImageService', [
|
|||
|
||||
Image.create({}, imageConfiguration)
|
||||
.$promise.then(function success(data) {
|
||||
var err = data.length > 0 && data[data.length - 1].hasOwnProperty('message');
|
||||
var err = data.length > 0 && data[data.length - 1].message;
|
||||
if (err) {
|
||||
var detail = data[data.length - 1];
|
||||
deferred.reject({ msg: detail.message });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue