INNER CODE UNIT · JavaScript

index

ongres/stackgres · stackgres-k8s/src/admin-ui/src/store/index.js:222

        let index = state.sgbackups.find(p => (backup.data.metadata.name == p.name) && (backup.data.metadata.namespace == p.data.metadata.namespace) ); 

        if ( typeof index !== "undefined" ) {
          index.data = backup.data;
        } else {
          state.sgbackups.push( backup );    
        }

    },
    
    showBackup ( state, show ) {

      state.sgbackups[show.pos].show = show.isVisible;

    },

    showDbOp ( state, show ) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…