graphdb-workbench
Version:
The web application for GraphDB APIs
2 lines • 1.02 kB
JavaScript
export const __webpack_esm_id__=67044;export const __webpack_esm_ids__=[67044,81710];export const __webpack_esm_modules__={67044:(e,o,n)=>{n(81710),angular.module("graphdb.framework.monitoring.backupandrestore",["graphdb.framework.monitoring.backupandrestore.controllers"])},81710:()=>{function e(e,o,n){let a;e.loading=!1,e.initialized=!1,e.backupAndRestoreInfos=void 0,e.hasClusterOperation=!1,e.paused=!1,e.hasToShowValue=e=>"boolean"==typeof e||!!e,e.togglePause=()=>{e.paused=!e.paused};const r=()=>{e.loading||e.paused||(e.loading=!0,n.monitorBackup().then(o=>{e.backupAndRestoreInfos=o,e.initialized=!0,e.hasClusterOperation=e.backupAndRestoreInfos.some(e=>e.nodePerformingClusterBackup)}).finally(()=>e.loading=!1))};e.$on("$destroy",()=>{a&&o.cancel(a)}),r(),a=o(()=>r(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",e),e.$inject=["$scope","$interval","MonitoringRestService"]}};
//# sourceMappingURL=67044.ba07cd010e1fb0b399e1.bundle.js.map