// The note to show after an admin config save. `deferred` is the list of keys
// the server wrote but won't apply until next start (port / web_port). If any
// were deferred, tell the admin; otherwise the change is already live.
export function configSaveNote(deferred) {
  return deferred && deferred.length > 0
    ? 'Saved. Port changes take effect the next time the server starts.'
    : 'Saved.';
}
