fix some styling and view bugs,fix device filtering in devlogs

This commit is contained in:
sepehr 2024-07-20 16:12:29 +03:30
parent d593919fc0
commit e18d9417c9
15 changed files with 63 additions and 29 deletions

View file

@ -113,11 +113,14 @@ export class DefaultLayoutComponent implements OnInit {
_self.navItems=_self.navItems.filter((item:any) => {
if (item.attributes){
if('free' in item.attributes && _self.ispro){
//do nothing
return ;
}
else if('pro' in item.attributes && _self.ispro){
return item;
}
else if('pro' in item.attributes && !_self.ispro){
return ;
}
else
return item;
}