main #138

Merged
Patrick_Pluto merged 36 commits from sageTheDm/interstellar_ai:main into main 2024-10-11 10:19:08 +02:00
Showing only changes of commit da480b9835 - Show all commits

View file

@ -14,28 +14,28 @@ const PrivacySettings: React.FC<PrivacySettingsProps> = ({ selectedOption, handl
<div className="settings-option">
<p>Disable Options:</p>
<div className="slider">
{/* Offline */}
{/* Offline Option */}
<div
className={`slider-option ${selectedOption === 'Offline' ? 'active' : ''}`}
onClick={() => handleRadioChange('Offline')} // Allow selection only if not in open-source mode
className={`slider-option ${selectedOption === 'Offline' ? 'active' : ''}`} // Active class based on selection
onClick={() => handleRadioChange('Offline')} // Handle selection change
>
Offline tools{openSourceMode ? ' (FOSS)' : ''}
Offline tools{openSourceMode ? ' (FOSS)' : ''} {/* Display FOSS label if applicable */}
</div>
{/* Online */}
{/* Online Option */}
<div
className={`slider-option ${selectedOption === 'Online' ? 'active' : ''}`}
onClick={() => handleRadioChange('Online')}
className={`slider-option ${selectedOption === 'Online' ? 'active' : ''}`} // Active class based on selection
onClick={() => handleRadioChange('Online')} // Handle selection change
>
Online tools{openSourceMode ? ' (FOSS)' : ''}
Online tools{openSourceMode ? ' (FOSS)' : ''} {/* Display FOSS label if applicable */}
</div>
{/* None */}
{/* None Option */}
<div
className={`slider-option ${selectedOption === 'None' ? 'active' : ''}`}
onClick={() => handleRadioChange('None')}
className={`slider-option ${selectedOption === 'None' ? 'active' : ''}`} // Active class based on selection
onClick={() => handleRadioChange('None')} // Handle selection change
>
None{openSourceMode ? ' (FOSS)' : ''}
None{openSourceMode ? ' (FOSS)' : ''} {/* Display FOSS label if applicable */}
</div>
</div>
<br />