fix: error in export with option view output as text

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
Merge pull request #1238 from D-storm/export-back-link

fix: error in export with option view output as text