revert implement topnav in user settings
refs FOO-4085 flag=instui_nav test plan - feature options on User Settings: /profile/settings should be displayed Change-Id: Ic3fc71af4e64b679c06de9b0dc1f0fa2a0f7c9c9 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349439 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> QA-Review: Michael Hulse <michael.hulse@instructure.com> Product-Review: Michael Hulse <michael.hulse@instructure.com> Reviewed-by: August Thornton <august@instructure.com>
This commit is contained in:
parent
8bb9bbd94a
commit
d7f54c2e44
|
@ -229,7 +229,6 @@ class ProfileController < ApplicationController
|
|||
NEW_USER_TUTORIALS_ENABLED_AT_ACCOUNT: show_tutorial_ff_to_user,
|
||||
CONTEXT_BASE_URL: "/users/#{@user.id}"
|
||||
)
|
||||
page_has_instui_topnav
|
||||
render :profile
|
||||
end
|
||||
format.json do
|
||||
|
|
|
@ -25,7 +25,6 @@ import ReactDOM from 'react-dom'
|
|||
import GeneratePairingCode from '@canvas/generate-pairing-code'
|
||||
import ready from '@instructure/ready'
|
||||
import FeatureFlags from '@canvas/feature-flags'
|
||||
import TopNavPortal from '@canvas/top-navigation/react/TopNavPortal'
|
||||
|
||||
ready(() => {
|
||||
const hiddenFlags = []
|
||||
|
@ -33,8 +32,6 @@ ready(() => {
|
|||
hiddenFlags.push('new_user_tutorial_on_off')
|
||||
}
|
||||
|
||||
ReactDOM.render(<TopNavPortal />, document.querySelector('#react-instui-topnav'))
|
||||
|
||||
ReactDOM.render(
|
||||
<FeatureFlags hiddenFlags={hiddenFlags} disableDefaults={true} />,
|
||||
// There is only one of these
|
||||
|
|
Loading…
Reference in New Issue