Final adjustments
This commit is contained in:
		
							parent
							
								
									3cca33eac3
								
							
						
					
					
						commit
						dcef4261a7
					
				|  | @ -71,6 +71,7 @@ const actions = { | ||||||
|             const profileIndex = profiles.findIndex((profile) => { |             const profileIndex = profiles.findIndex((profile) => { | ||||||
|               return profile._id === rootState.settings.defaultProfile |               return profile._id === rootState.settings.defaultProfile | ||||||
|             }) |             }) | ||||||
|  | 
 | ||||||
|             if (profileIndex !== -1) { |             if (profileIndex !== -1) { | ||||||
|               dispatch('updateActiveProfile', profileIndex) |               dispatch('updateActiveProfile', profileIndex) | ||||||
|             } |             } | ||||||
|  | @ -103,7 +104,7 @@ const actions = { | ||||||
|       textColor: textColor, |       textColor: textColor, | ||||||
|       subscriptions: [] |       subscriptions: [] | ||||||
|     } |     } | ||||||
|     console.log('DIS DEFAULT', defaultProfile) | 
 | ||||||
|     profileDb.update({ _id: 'allChannels' }, defaultProfile, { upsert: true }, (err, numReplaced) => { |     profileDb.update({ _id: 'allChannels' }, defaultProfile, { upsert: true }, (err, numReplaced) => { | ||||||
|       if (!err) { |       if (!err) { | ||||||
|         dispatch('grabAllProfiles') |         dispatch('grabAllProfiles') | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue