Skip to content

Commit

Permalink
Merge pull request #73 from soumyaprasadrana/work_new
Browse files Browse the repository at this point in the history
grid owner field fix
  • Loading branch information
soumyaprasadrana committed May 23, 2023
2 parents 02b0ada + 4a62eb6 commit c27fdcf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions src/app/public/home/home-page/home-page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1854,6 +1854,21 @@ export class HomePageComponent implements OnInit {
},
});
}
if (this.loggedUser.hideOwner && this.loggedUser.permissions.is_admin) {
this.columnDef.push({
id: "vm_owner_lab",
name: "Owner",
field: "vm_owner_lab",
sortable: true,
filterable: true,
filter: { model: Filters.input },
formatter: Formatters.alignCenter,
customTooltip: {
hideArrow: true,
headerFormatter: this.headerFormatter.bind(this) as Formatter,
},
});
}
if (this.loggedUser.permissions.is_admin) {
this.columnDef.push({
id: "team",
Expand Down
2 changes: 1 addition & 1 deletion src/app/public/widget/footer/footer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<!-- Footer -->
<footer class="card-footer fixed-bottom"><div><p>
<!--Made with ❤ by <a href="https://in.linkedin.com/in/soumya-prasad-rana-5a7a6b70 ">Soumya</a>-->
VM Assignment Portal 2.0.5 © 2023 All rights reserved.
VM Assignment Portal 2.0.6 © 2023 All rights reserved.
</p></div></footer>

0 comments on commit c27fdcf

Please sign in to comment.