update paths to csv file and excel button

This commit is contained in:
Kristoffer Lind
2019-01-30 12:43:54 +01:00
parent 2322a5cdab
commit f6e629d9eb
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ class ExportButton extends React.PureComponent {
return excelExport === true && (
<input
className="icon-xls"
src="/Extensions/PLSmartPivot/Excel.png"
src="/Extensions/qlik-smart-pivot/Excel.png"
type="image"
/>
);

View File

@@ -101,7 +101,7 @@ export async function prepareProps ({ state }) {
}
function ReadCustomSchema () {
var Url = '/Extensions/PLSmartPivot/' + props.vCustomFile;
var Url = '/Extensions/qlik-smart-pivot/' + props.vCustomFile;
return $.get(Url).then(function (response) {
var allTextLines = response.split(/\r\n|\n/);
var headers = allTextLines[0].split(';');