Refreshing index causes indexes to lose templates

Opendistro and Kibana version: 1.13.2

Pressing the Refresh Index button in Stack Management > Index Pattern makes the index lose template

This is the index before refresh

This is after:

Any help? Its very important

Regards,
Daniel

Looks like a bug to me. Want to open an issue?

Sure, hopefully the will fix it.

Do you know any workaround?