Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

passing Empty Array to directive #458

Open
ataeesaeed opened this issue Aug 19, 2017 · 1 comment
Open

passing Empty Array to directive #458

ataeesaeed opened this issue Aug 19, 2017 · 1 comment

Comments

@ataeesaeed
Copy link

Hi

I am using dirPagination directive, i have a problem with passing empy array to it.

i have a table and a search field that search results show in table, when the result is empty, table rows does not delete from table,

i find this condition in directive

scope.$watchCollection(function() { return collectionGetter(scope); }, function(collection) { if (collection) { paginationService.setCollectionLength(paginationId, collection.length); } });

i think if(collection) make some problems.

@alancheung88
Copy link

I am also facing the same issue too, @Saeed-Ataee may I know if you have a solution to the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants