[FIX] disable earnings when tx summaries are disabled
Merge pull request #2197 from iAmShorty/disable-earnings-page

[FIX] disable earnings when tx summaries are disabled