Skip to content

Commit

Permalink
added create_user to the models mixin. Fixed the tooltip text too
Browse files Browse the repository at this point in the history
  • Loading branch information
taraepp committed Nov 7, 2023
1 parent 9d316ae commit 4203916
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions services/core-api/app/api/utils/models_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ def mine_document(cls):
document_manager_guid = association_proxy('mine_document', 'document_manager_guid')
document_name = association_proxy('mine_document', 'document_name')
upload_date = association_proxy('mine_document', 'upload_date')
create_user = association_proxy('mine_document', 'create_user')

class PermitMagazineMixin(object):
type_no = db.Column(db.String, nullable=False)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ const MineExplosivesPermitTable: FC<RouteComponentProps & MineExplosivesPermitTa
? {
rowExpandable: (record: IExplosivesPermit) =>
record.explosives_permit_amendments?.length > 1,
recordDescription: "document details",
recordDescription: "amendment details",
getDataSource: (record: IExplosivesPermit) => {
const totalAmendments = record.explosives_permit_amendments.length;
return record.explosives_permit_amendments.map((amendment) => {
Expand Down

0 comments on commit 4203916

Please sign in to comment.