added removal of last_config when revoke admin config on client management panel
This commit is contained in:
parent
8599b20678
commit
9290775ab5
6 changed files with 46 additions and 9 deletions
|
|
@ -479,6 +479,14 @@ void ServersModel::clearCachedProfiles()
|
|||
updateContainersModel();
|
||||
}
|
||||
|
||||
void ServersModel::clearCachedProfile(const DockerContainer container)
|
||||
{
|
||||
m_settings->clearLastConnectionConfig(m_currentlyProcessedServerIndex, container);
|
||||
|
||||
m_servers.replace(m_currentlyProcessedServerIndex, m_settings->server(m_currentlyProcessedServerIndex));
|
||||
updateContainersModel();
|
||||
}
|
||||
|
||||
bool ServersModel::isAmneziaDnsContainerInstalled(const int serverIndex)
|
||||
{
|
||||
QJsonObject server = m_servers.at(serverIndex).toObject();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue