mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 04:24:08 +00:00
multiple po and invoice fix
This commit is contained in:
@@ -200,7 +200,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getExtension(path){
|
getExtension(path){
|
||||||
return path.slice(-3);
|
return path.lastIndexOf('.') + 1;
|
||||||
},
|
},
|
||||||
isImage(path){
|
isImage(path){
|
||||||
var ext = this.getExtension(path);
|
var ext = this.getExtension(path);
|
||||||
|
|||||||
Reference in New Issue
Block a user