Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change message with bold 'not' if primary #9112

Merged
merged 1 commit into from
Jun 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ui/lib/core/addon/components/replication-dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Component from '@ember/component';
import { computed } from '@ember/object';
import { clusterStates } from 'core/helpers/cluster-states';
import { capitalize } from '@ember/string';
import { htmlSafe } from '@ember/template';
import layout from '../templates/components/replication-dashboard';

/**
Expand Down Expand Up @@ -90,4 +91,12 @@ export default Component.extend({
return drState;
}
),
reindexMessage: computed('isSecondary', 'progressBar', function() {
if (!this.isSecondary) {
return htmlSafe(
'This can cause a delay depending on the size of the data store. You can <b>not</b> use Vault during this time.'
);
}
return 'This can cause a delay depending on the size of the data store. You can use Vault during this time.';
}),
});
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@title={{concat "Re-indexing in progress" reindexingStage}}
@type="info"
@progressBar={{progressBar}}
@message="This can cause a delay depending on the size of the data store. You can use Vault during this time."
@message={{reindexMessage}}
data-test-isReindexing />
</div>
{{/if}}
Expand Down