fix lot render
This commit is contained in:
parent
a919c0ee26
commit
cea143dcbe
|
@ -106,11 +106,11 @@ class Lot(Thing):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_incoming(self):
|
def is_incoming(self):
|
||||||
return bool(self.trade and self.trade.user_to == current_user)
|
return bool(self.trade and self.trade.user_to == g.user)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_outgoing(self):
|
def is_outgoing(self):
|
||||||
return bool(self.trade and self.trade.user_from == current_user)
|
return bool(self.trade and self.trade.user_from == g.user)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def descendantsq(cls, id):
|
def descendantsq(cls, id):
|
||||||
|
|
Reference in New Issue