feature and sonar-qube: add missing delete API
This commit is contained in:
@@ -278,6 +278,7 @@ export default defineStore('filesStore', {
|
||||
}
|
||||
try {
|
||||
await this.fetchAllFiles();
|
||||
await axios.delete(api);
|
||||
await deleteSuccess();
|
||||
} catch(error) {
|
||||
apiError(error, 'Failed to delete.');
|
||||
|
||||
@@ -468,7 +468,6 @@
|
||||
async deleteFile(type, id, name, source) {
|
||||
let srt = '';
|
||||
let data = [];
|
||||
|
||||
// 判斷是否來自 hover icon 選單
|
||||
if(type && id && name && source === 'list-hover') {
|
||||
this.selectedType = type;
|
||||
|
||||
Reference in New Issue
Block a user