{"action":"created","issue":{"url":"https://api.github.com/repos/bevacqua/dragula/issues/428","repository_url":"https://api.github.com/repos/bevacqua/dragula","labels_url":"https://api.github.com/repos/bevacqua/dragula/issues/428/labels{/name}","comments_url":"https://api.github.com/repos/bevacqua/dragula/issues/428/comments","events_url":"https://api.github.com/repos/bevacqua/dragula/issues/428/events","html_url":"https://github.com/bevacqua/dragula/issues/428","id":180438312,"number":428,"title":"Dragula says bag-one exists already on switching back and forth between components","user":{"login":"lbecker34","id":13766641,"avatar_url":"https://avatars.githubusercontent.com/u/13766641?v=3","gravatar_id":"","url":"https://api.github.com/users/lbecker34","html_url":"https://github.com/lbecker34","followers_url":"https://api.github.com/users/lbecker34/followers","following_url":"https://api.github.com/users/lbecker34/following{/other_user}","gists_url":"https://api.github.com/users/lbecker34/gists{/gist_id}","starred_url":"https://api.github.com/users/lbecker34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbecker34/subscriptions","organizations_url":"https://api.github.com/users/lbecker34/orgs","repos_url":"https://api.github.com/users/lbecker34/repos","events_url":"https://api.github.com/users/lbecker34/events{/privacy}","received_events_url":"https://api.github.com/users/lbecker34/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-01T04:59:55Z","updated_at":"2016-10-05T00:50:00Z","closed_at":null,"body":"When I originally open the component which contains the dragulaservice, everything works just fine. When I switch to another component and then back to the one containing Dragula, it says \"bag-one\" already exists. Is this a known issue? Is there something I'm missing here? Is there a deconstructor?"},"comment":{"url":"https://api.github.com/repos/bevacqua/dragula/issues/comments/251554666","html_url":"https://github.com/bevacqua/dragula/issues/428#issuecomment-251554666","issue_url":"https://api.github.com/repos/bevacqua/dragula/issues/428","id":251554666,"user":{"login":"lbecker34","id":13766641,"avatar_url":"https://avatars.githubusercontent.com/u/13766641?v=3","gravatar_id":"","url":"https://api.github.com/users/lbecker34","html_url":"https://github.com/lbecker34","followers_url":"https://api.github.com/users/lbecker34/followers","following_url":"https://api.github.com/users/lbecker34/following{/other_user}","gists_url":"https://api.github.com/users/lbecker34/gists{/gist_id}","starred_url":"https://api.github.com/users/lbecker34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbecker34/subscriptions","organizations_url":"https://api.github.com/users/lbecker34/orgs","repos_url":"https://api.github.com/users/lbecker34/repos","events_url":"https://api.github.com/users/lbecker34/events{/privacy}","received_events_url":"https://api.github.com/users/lbecker34/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T00:50:00Z","updated_at":"2016-10-05T00:50:00Z","body":"I've found the solution to this one. On ngOnDestroy(), you need to call \r\n\r\n`this.dragulaService.destroy('bag-one');`"}}
{"actor":{"display_login":"lbecker34"}}