mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Small fix for status label types
This commit is contained in:
parent
483bf1b309
commit
6633366b29
|
@ -51,10 +51,10 @@ class Statuslabel extends Model
|
|||
return 'pending';
|
||||
} elseif ($this->archived == 1) {
|
||||
return 'archived';
|
||||
} elseif (($this->archived == 0) && ($this->deployable == 0) && ($this->deployable == 0)) {
|
||||
return 'undeployable';
|
||||
} else {
|
||||
} elseif ($this->deployable == 1) {
|
||||
return 'deployable';
|
||||
} else {
|
||||
return 'undeployable';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue