Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Fix Tab type or Namespace not found error#17

Open
luismaiaDEVSCOPE wants to merge 1 commit intoOfficeDev:masterfrom
luismaiaDEVSCOPE:patch-1
Open

Fix Tab type or Namespace not found error#17
luismaiaDEVSCOPE wants to merge 1 commit intoOfficeDev:masterfrom
luismaiaDEVSCOPE:patch-1

Conversation

@luismaiaDEVSCOPE
Copy link

No description provided.

@luismaiaDEVSCOPE luismaiaDEVSCOPE changed the title Fix Tab type on Namespace not found error Fix Tab type or Namespace not found error Apr 14, 2020
@{ Tab gray = new Tab();
string g = ($"{@gray.GetColor()} gray!'");
@{
string g = ($"{@Model.GetGray()} gray!'");
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cloned from master and made this change. I encountered NullReferenceException. The Tab controller is not returning ChannelGroup object causing the error. The fix is to return View(color) instead of View() in Tab() action.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants