Hotfix/dynatable i18n text duplication#1018
Conversation
|
@frenchbread Reviewing |
|
Original issue seems to be solved. However rendering in UI, timestamps, etc. still not very nice in Chrome at least. Should we work it on this PR or what are your thoughts @frenchbread ? |
|
Decided to work on the CSS layout issues on this PR with @frenchbread |
|
@jykae I am using this package here. The thing is that those options for pagination does not work. E.g |
|
@frenchbread the last commit on the Datatables package was Dec 11, 2014 @Jowin. Is there a more active package? |
|
@jykae I've added changes. Please review. The only issue I'm getting now is when formatting unix timestamp it gives wierd year value: e.g: |
|
Good work so far a bit beyond than the explanation in the PR. |
|
Removing |
|
Checked in the review together, merging. Good work @frenchbread |
| initDatatable(); | ||
|
|
||
| // Init datatable function | ||
| function initDatatable () { |
There was a problem hiding this comment.
Define this function in the onCreated callback, then call it from within this onRendered callback.
|
@brylie I think there is no need to move those functions because |
|
Part of modularizing the code will be to move nested functions to the template level. E.g. our code is hard to maintain and refactor, in part, because functions are defined and called inside of other functions. |
Closes #785
Changes:
Fixes: