fixing actions for computer
This commit is contained in:
parent
6de83ce4d2
commit
56df40c81a
|
@ -644,7 +644,13 @@ class Computer(Device):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def actions(self) -> list:
|
def actions(self) -> list:
|
||||||
return sorted(chain(super().actions, self.actions_parent))
|
actions = copy.copy(super().actions)
|
||||||
|
actions_parent = copy.copy(self.actions_parent)
|
||||||
|
for ac in actions_parent:
|
||||||
|
ac.real_created = ac.created
|
||||||
|
|
||||||
|
return sorted(chain(actions, actions_parent), key=lambda x: x.real_created)
|
||||||
|
# return sorted(chain(super().actions, self.actions_parent))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def ram_size(self) -> int:
|
def ram_size(self) -> int:
|
||||||
|
|
Reference in New Issue