Commit 9398b481 authored by Nick Thomas's avatar Nick Thomas

Show selective sync type in the sync settings component

parent fd9d7438
......@@ -35,7 +35,7 @@
return s__('GeoNodes|Full');
}
return s__('GeoNodes|Selective');
return `${s__('GeoNodes|Selective')} (${this.selectiveSyncType})`;
},
eventTimestampEmpty() {
return this.lastEvent.timeStamp === 0 || this.cursorLastEvent.timeStamp === 0;
......
......@@ -23,7 +23,7 @@ describe('GeoNodeSyncSettingsComponent', () => {
describe('syncType', () => {
it('returns string representing sync type', () => {
const vm = createComponent();
expect(vm.syncType).toBe('Selective');
expect(vm.syncType).toBe('Selective (namespaces)');
vm.$destroy();
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment