Moved logic to sort tags to TagsList component, to allow sorting on any context

This commit is contained in:
Alejandro Celaya
2021-11-06 10:55:01 +01:00
parent af08b53002
commit daf076a57e
7 changed files with 86 additions and 76 deletions

View File

@@ -18,7 +18,7 @@ const RealTimeUpdates = (
<SimpleCard title="Real-time updates" className="h-100">
<FormGroup>
<ToggleSwitch checked={realTimeUpdates.enabled} onChange={toggleRealTimeUpdates}>
Enable or disable real-time updates, when using Shlink v2.2.0 or newer.
Enable or disable real-time updates.
<small className="form-text text-muted">
Real-time updates are currently being <b>{realTimeUpdates.enabled ? 'processed' : 'ignored'}</b>.
</small>