This commit is contained in:
2023-08-29 20:06:52 +02:00
parent 7c2eec4446
commit 25702c073a
225 changed files with 1071 additions and 808 deletions

View File

@@ -1,4 +1,4 @@
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", { value: true });
var MittiClass_1 = require("../MittiClass");
module.exports = function (actionAPI) {
//Handle the action when executed
@@ -14,8 +14,9 @@ module.exports = function (actionAPI) {
mitti
.selectClip(parseInt(clipID))
.then(function () {
status("Clip " + clipID + " has been selected", 'info');
})["catch"](function (error) {
status("Clip ".concat(clipID, " has been selected"), 'info');
})
.catch(function (error) {
status(error.message, 'error');
});
});
@@ -82,11 +83,12 @@ module.exports = function (actionAPI) {
for (var clipID in clips) {
var query = clips[clipID];
var name = query.split(' ').splice(query.split(' ').length - 3, 2);
fieldValues.push({ id: clipID, text: clipID + " - " + name });
fieldValues.push({ id: clipID, text: "".concat(clipID, " - ").concat(name) });
}
fields[1].values = fieldValues;
callback();
})["catch"](function (error) {
})
.catch(function (error) {
fields[1].values = [];
callback();
});