{"action":"created","issue":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/15675","repository_url":"https://api.github.com/repos/ionic-team/ionic","labels_url":"https://api.github.com/repos/ionic-team/ionic/issues/15675/labels{/name}","comments_url":"https://api.github.com/repos/ionic-team/ionic/issues/15675/comments","events_url":"https://api.github.com/repos/ionic-team/ionic/issues/15675/events","html_url":"https://github.com/ionic-team/ionic/issues/15675","id":361780885,"node_id":"MDU6SXNzdWUzNjE3ODA4ODU=","number":15675,"title":"Dynamic tabs in tabbar","user":{"login":"RHinderiks","id":26223525,"node_id":"MDQ6VXNlcjI2MjIzNTI1","avatar_url":"https://avatars0.githubusercontent.com/u/26223525?v=4","gravatar_id":"","url":"https://api.github.com/users/RHinderiks","html_url":"https://github.com/RHinderiks","followers_url":"https://api.github.com/users/RHinderiks/followers","following_url":"https://api.github.com/users/RHinderiks/following{/other_user}","gists_url":"https://api.github.com/users/RHinderiks/gists{/gist_id}","starred_url":"https://api.github.com/users/RHinderiks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RHinderiks/subscriptions","organizations_url":"https://api.github.com/users/RHinderiks/orgs","repos_url":"https://api.github.com/users/RHinderiks/repos","events_url":"https://api.github.com/users/RHinderiks/events{/privacy}","received_events_url":"https://api.github.com/users/RHinderiks/received_events","type":"User","site_admin":false},"labels":[{"id":835668554,"node_id":"MDU6TGFiZWw4MzU2Njg1NTQ=","url":"https://api.github.com/repos/ionic-team/ionic/labels/triage","name":"triage","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-19T14:38:23Z","updated_at":"2018-10-20T08:04:43Z","closed_at":"2018-09-20T07:24:15Z","author_association":"NONE","body":"# Feature Request\r\n\r\n**Describe the Feature Request**\r\nWe've got about 5 tabs but 3 of them are dependent on the rights a user has when he logs in. When a user has no right to a tab this tab should not be shown. However applying a *ngIf does not work because turning that if value to true does not make it appear if it previously was false. (we assume false until said otherwise by our back-end for security purpose).\r\n\r\nI found a older ionic 3 forum ticket that explained to load them with a ngFor loop and only add them to the array if there suppose to be shown. This does show the tab button but no pages are shown just empty blank pages.\r\n\r\n**Describe Preferred Solution**\r\nAdd a option to ion-tab called hidden or something similar. (probably not hidden because its already used by angular) too hide the tab.\r\n\r\n**Describe Alternatives**\r\nNot sure. Maybe i'm missing something and thats why its not working. But our tabs worked fine until i started implementing them being dynamic.\r\n"},"comment":{"url":"https://api.github.com/repos/ionic-team/ionic/issues/comments/431559178","html_url":"https://github.com/ionic-team/ionic/issues/15675#issuecomment-431559178","issue_url":"https://api.github.com/repos/ionic-team/ionic/issues/15675","id":431559178,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTU1OTE3OA==","user":{"login":"ionic-issue-bot[bot]","id":35967572,"node_id":"MDM6Qm90MzU5Njc1NzI=","avatar_url":"https://avatars1.githubusercontent.com/in/8640?v=4","gravatar_id":"","url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D","html_url":"https://github.com/apps/ionic-issue-bot","followers_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/followers","following_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/repos","events_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/ionic-issue-bot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-10-20T08:04:43Z","updated_at":"2018-10-20T08:04:43Z","author_association":"NONE","body":"Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.\n"}}
{"actor":{"display_login":"ionic-issue-bot"}}