Commit 9d6ad848 by Kalyani

ATLAS-1817.1 : UI :Fix for TagLayout page when tag is not associated with any entity.

parent 1c3dcc07
......@@ -255,7 +255,7 @@ define(['require',
if (!(that.ui.pageRecordText instanceof jQuery)) {
return;
}
if (that.searchCollection.models.length === 0) {
if (that.searchCollection.models.length === 0 && that.offset > that.limit) {
that.ui.nextData.attr('disabled', true);
that.offset = that.offset - that.limit;
that.hideLoader();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment