mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-04 04:28:08 +00:00 
			
		
		
		
	UI - don't re-throw error when fetching features (#4669)
This commit is contained in:
		@@ -57,7 +57,7 @@ export default Service.extend({
 | 
				
			|||||||
      this.setFeatures(response);
 | 
					      this.setFeatures(response);
 | 
				
			||||||
      return;
 | 
					      return;
 | 
				
			||||||
    } catch (err) {
 | 
					    } catch (err) {
 | 
				
			||||||
      throw err;
 | 
					      // if we fail here, we're likely in DR Secondary mode and don't need to worry about it
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }).keepLatest(),
 | 
					  }).keepLatest(),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -103,9 +103,8 @@ test('replication', function(assert) {
 | 
				
			|||||||
      `/vault/replication/performance/secondaries`,
 | 
					      `/vault/replication/performance/secondaries`,
 | 
				
			||||||
      'redirects to the secondaries page'
 | 
					      'redirects to the secondaries page'
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
    assert
 | 
					    assert.equal(
 | 
				
			||||||
      .dom('[data-test-flash-message-body]:contains(The performance mount filter)')
 | 
					      find('[data-test-flash-message-body]:contains(The performance mount filter)').text().trim(),
 | 
				
			||||||
      .hasText(
 | 
					 | 
				
			||||||
      `The performance mount filter config for the secondary ${secondaryName} was successfully deleted.`,
 | 
					      `The performance mount filter config for the secondary ${secondaryName} was successfully deleted.`,
 | 
				
			||||||
      'renders success flash upon deletion'
 | 
					      'renders success flash upon deletion'
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user